Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Current (PS5 / "v2") API and trophyEarnedRate Information #13

Open
andshrew opened this issue Apr 5, 2022 · 1 comment
Open

Current (PS5 / "v2") API and trophyEarnedRate Information #13

andshrew opened this issue Apr 5, 2022 · 1 comment

Comments

@andshrew
Copy link
Owner

andshrew commented Apr 5, 2022

Seemingly one of the limitations of the current trophy API is that you cannot view the trophyEarnedRate (the percentage of people who have earned a specific trophy) unless your account - or the account you are querying against - has played the game and has the trophy list synced.

You can see this behavior when you access the API directly as you will get a Resource Not Found error, and this is also the case both in the PS App and on console with the PS5. You can see this limitation in effect if you try and compare trophies with someone using a game that neither of you have synced to your account.

Trophy-Comparison

However, I have noticed that when a game has trophies listed in the activity card section the PS5 is doing something which does allow it to retrieve the trophyEarnedRate - even if it is a game that your account does not have the trophy list synced for.

Activity-Card-Trophy

Activity-Card-Trophy-Stats

From the limited data you can capture if you run the PS5 through a proxy I can see that it is accessing the API when you open these cards, but cannot see any of the detail in the exact request it is making.

I'm interested in what they are doing, so if anyone has come across this and can share I would like to include it in the documentation here.

It would seem likely that it is either:

  • There is another API endpoint which can be used to retrieve this information.
  • There is a specific accountId they are querying against which has every trophy list synced against it and so will always return the information in a request to the API.
@andshrew andshrew pinned this issue Apr 5, 2022
@rafaelfgyn
Copy link

What I don't understand is why trophyEarnedRate appears when requesting trophies of a user game, but when requesting game's trophies by itself we don't have this info in the payload. Does anyone know something about it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants