osuAkatsuki / bancho.py

An osu! server for the generic public, optimized for maintainability in modern python
https://akatsuki.gg
MIT License
201 stars 125 forks source link

feat: add "first" scope to get_player_scores #606

Open minisbett opened 4 months ago

minisbett commented 4 months ago

Describe your changes

Adds the "first" scope for first-place scores to the API v1, as the API v2 does not contain any implementation for this kind of stuff yet.

Checklist

minisbett commented 4 months ago

ignoring the fact i see this becoming SHIT slow on maps with many scores, this needs consideration/ignoration for restricted users as their first places should not count

wait didnt I already add that to the query nvm