andshrew / PlayStation-Trophies

Sony has an API for retrieving details of the trophies an account has earned, but there is no public documentation for using it. This is an attempt at documenting the API by capturing the requests made by the https://my.playstation.com web site.
MIT License
100 stars 4 forks source link

Various minor updates and new miscellaneous API endpoints documentation #27

Closed andshrew closed 1 month ago

andshrew commented 1 month ago

PlayStation PC platform

Sony have added a new platform PSPC to the trophy system to support their game releases on PC.

No PC specific endpoints have been documented yet. Should you wish help and contribute any endpoints specific to the new PlayStation Overlay please see:

https://github.com/andshrew/PlayStation-Trophies/issues/26

Miscellaneous API Endpoints

There have been a number of requests for the documentation to be updated to include endpoints which aren't strictly related to the trophy system, but which may be of interest. Many of these have previously been shared within the GitHub repo issues.

A new miscellaneous section has been created to document these:

https://andshrew.github.io/PlayStation-Trophies/#/misc/

PS5 Game Help

These endpoints previously required a PS+ subscription to be able to query, but Sony removed this requirement as part of a feature update in early 2024.

GraphQL Endpoints

GraphQL based endpoints now require additional headers in the request, otherwise the server will reject it. The PowerShell examples have been updated to include these headers:

Key Value
apollographql-client-name PlayStationApp-Android
content-type application/json
Ragowit commented 1 month ago

Thanks for your work!