osu-api icon indicating copy to clipboard operation
osu-api copied to clipboard

player country in /get_scores

Open limjeck opened this issue 9 years ago • 0 comments

I made a userscript that displays more than just top 50 scores in beatmaps score listing. However the /get_scores api doesn't return player country, unlike the web for top 50. For now I made it work by requesting /get_user for each player to get their country, but this will require more requests, up to 100 in a second, which I think may be too much for a userscript that many people is using. I also cached player country data locally, to reduce the amount of requests.

Adding player country in /get_scores will reduce amount of requests and load.

limjeck avatar Feb 13 '16 14:02 limjeck