Giter Club home page Giter Club logo

rest-wrapper-ps4's Introduction

Rest-wrapper-PS4

Rest wrapper for talk with ps4.

Warning: no authentication is performed. Don't expose this service to outside network.

Prerequisites

  • Install ps4-waker with command npm install -g ps4-waker
  • Generate the credentials file
    • Run command ps4-waker -c ps4-creds.json in the folder of your choice.
    • Run scan in playstation second screen app
    • Connect on ps4-waker
    • On your PS4 go to settings and settings of application mobile connection
    • Select add device and enter the code on ssh terminal for ps4-waker
  • Edit the config.js file
  • Run the server with command pm2 start server.js --name ps4-wrapper or node server.js

Routes

GET /ps4/power/state=value

The value can take 0 for turn off or 1 for turn on ps4.

GET /ps4/start/titleID

In addition, the Title ID can be discovered when viewing a game on the PSN Store by looking at the URL in your browser's address bar. For example, the URL for GTAV in the UK is:

https://store.playstation.com/#!/en-gb/games/grand-theft-auto-v/cid=EP1004-CUSA00411_00-GTAVDIGITALDOWNL

So, its Title ID is CUSA00411

Netflix fr : CUSA00127 GTA fr: CUSA00411 NFS Payback fr: CUSA05986 COD BO3 fr: NPEB02266 COD WWII fr: CUSA08630 Minecraft fr: CUSA00265 Fornite fr: CUSA07669

rest-wrapper-ps4's People

Contributors

mathieuandrade avatar vincentbesseau avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.