Search code examples
jqueryapicurlplaystation

how to get information about PSN ID playstation network


i was searching for PlayStation network api but i couldn't find i want simple way to check psn id if for example online , and if ID is exists or not , i need simple why to get any information about the psn id as possible .

thank you .


Solution

  • There's not a known way to get directly any data from PSN servers by only using client-side JavaScript, there are many required steps like OAuth, editing the request headers and a few things in order to perform a simple PSN ID query. To do so, you need a server-side script to create a simple API so you can do a simple jQuery AJAX request.

    There are a few options, all needs you to host a script/server.

    https://github.com/jhewt/gumer-psn Written in Node.js by me, the syntax may be familiar to you https://github.com/ilendemli/gumer-psn-php A PHP implementation of the above

    gumer-psn is based on the official mobile application, and it's maintained and updated often by me.