osu-api
osu-api copied to clipboard
player country in /get_scores
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.