Number of ranked maps a user has a score on in /get_user
I want to be able to see how many ranked maps a user has a score on. This in turn would allow me to easily calculate the Bonus PP.
Have no plans on adding this as it is not cached anywhere. Please use /get_scores for now.
@peppy How do you calculate bonus pp if it's not cached anywhere and pp is calculated realtime?
For calculating pp all scores of a given user have to be loaded anyways, so you implicitly know their amount. That has to only be performed once a user achieves a new high-score on some map, though, so it's rare enough to not be a performance issue. If we exposed this publically via the API, then it could get queried way more often than needed for real-time pp.