achievements-app/psn-api

Relate trophy titles and user titles

Opened this issue · 2 comments

I'm trying to gather some basic player statistics from gamelist/v2/users/$accountId/titles and trophy/v1/users/$accountId/trophyTitles. Unfortunately, conceptId appears only in the first request, and the best field to find a game by its name from the second one trophyTitleName, which slightly differs from the original game title in lots of cases.

Is there any known api to establish this relationship?

Answering my own question, just in case might be useful for someone. I found this.-

https://m.np.playstation.com/api/trophy/v1/users/{userId}|me/titles/trophyTitles?npTitleIds={ids}

Which returns objects that include npTitleId and npCommunicationId. This npCommunicationId can later be used in trophyGroups methods.

Answering my own question, just in case might be useful for someone. I found this.-

https://m.np.playstation.com/api/trophy/v1/users/{userId}|me/titles/trophyTitles?npTitleIds={ids}

Which returns objects that include npTitleId and npCommunicationId. This npCommunicationId can later be used in trophyGroups methods.

what is the best way of getting the titleids for this, i cant seem to find a good way