Tustin / psn-php

A PHP wrapper for the PSN API
https://tustin.dev/psn-php/
MIT License
356 stars 73 forks source link

is there a endpoint for game regions? #184

Closed ratbo99 closed 2 years ago

ratbo99 commented 3 years ago

hello, i'm a trophyhunter and streamer. so i wrote a trophytracker with python to display a trophy overlay in obs. works really well, but i'm curious if theres an endpoint for the game region (eu, na, jp etc.)? sometimes i play several stacks of a game and it would be nice to see the region for that game in my program.

Ragowit commented 3 years ago

No, sites like PSN Profiles add the regions manually by looking at the players who have obtained trophies in each stack. If one stack have large amount of NA players, and the other large amount of EU, they tag those as NA and EU.

With that said, you might be able to try and search for the title on the PS Store for each region and try to narrow it down. If you can search on the store by the NPRW id that is. I have no experience with the store API/endpoint.

ratbo99 commented 3 years ago

thanks for your answer. sadly, that's what i thought, because the regions appear later on psnprofiles than the actual trophy list. i will check if its possible to get the region from the store.

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.