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
104 stars 4 forks source link

Endpoint limit parameter values #14

Closed aron0306 closed 2 years ago

aron0306 commented 2 years ago

First of all, thank you so much for all your work on this project, it is really something unique!

I'm doing some tests with the api (using isFakeAccount Python wrapper) and found out that the limit parameter values for the endpoint https://m.np.playstation.net/api/trophy/v1/users/{accountId}/trophyTitles are as follows:

Min 1 (already in the documentation) Max 800 (higher values will return an 400 bad request http error) Default 100 (if not specified it will limit to 100 game titles trophies)

Since the numbers os trophies and titles are very different in sizes I believe the values may be different on other endpoints, but I'll try to confirm it and let you know.

Since I'm not a developer and have little to no experience with Git commands etc I'm posting it here. 😅

andshrew commented 2 years ago

Hi @aron0306

Thanks for this, I'll update the documentation with your findings.

andshrew commented 2 years ago

These limits have been updated now.