elminsterjimmy / PSN-API

MIT License
12 stars 4 forks source link

Another languages & Trophy groups #5

Open vandalnet opened 8 years ago

vandalnet commented 8 years ago

Hi, currently the API only supports English, maybe because the Accept-Language for fetching the games is:

Accept-Language: zh-CN,zh;q=0.8,en;q=0.6,ja;q=0.4,zh-TW;q=0.2

Are there any plans to allow the accept-language to be configured?

Also, are there any plans to support Trophy Groups?

Thanks

elminsterjimmy commented 8 years ago

Hi vandalnet, thank you for the issue. I tried to change the accept language before and expect the same result you need. But actually it doesn't affect the response of the queries. And after some investigation and I found that the response is depended on the user's setting who you are look at. The localization of game/trophy description is planned and I'll look for a workaround. The same as the trophy groups, from the public trophy it doesn't contain the trophy groups. Also a workaround is needed.