Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add bonus pp to UserStatistics API response object #11759

Open
ZenoXi opened this issue Dec 21, 2024 · 1 comment
Open

Add bonus pp to UserStatistics API response object #11759

ZenoXi opened this issue Dec 21, 2024 · 1 comment
Labels

Comments

@ZenoXi
Copy link

ZenoXi commented Dec 21, 2024

As far as I can tell, there is no way to get the exact bonus pp a user has since it requires knowing the number of ranked maps a user has set scores on, which also isn't in the response. The only case where it is possible is when a user has <100 scores in their best scores list, but this is very limiting. One use case for knowing bonus pp (which is why I'm requesting this) would be calculating the new user total pp value given some hypothetical score.

Probably just having the number of ranked maps with scores set would be better, since you can easily calculate bonus pp from that, but either would be nice.

@peppy
Copy link
Member

peppy commented Dec 24, 2024

We don't store this server-side, so it would be a relatively complex implementation (needs to be cached).

@peppy peppy added the type:api label Dec 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants