Question

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 .

Was it helpful?

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.

OTHER TIPS

There is an API here which is continuously developed and works on a subscription basis: http://www.psnleaderboard.com/api

It is made with PHP and it is not official, but it does provide full game/profile data (including hidden trophies) and combines games by npcommid to store products so that metadata, screenshots and videos are included.

Whenever Sony change their system, that API gets adjusted. Another great thing about this API is that when PlayStation Network goes down or enters periods of maintenance, the API is still able to return results ot your system.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top