You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Proposal
I've been looking for a way to get data for a user's scores that are in the top 1-500 of all beatmaps. Pretty much the same as osustats.ppy.sh but as a get request. For some users this would be quite lengthy but I'm sure there's some way around that.
Practical applications for this would include commands bots to return the amount of top n (1 to n) scores a user has, or alternative ranking systems that weight map rank and length held (and more applications I probably haven't thought of).
Example Parameters
k - api key (required).
u - specify a user_id or a username to return metadata from (required).
m - mode (0 = osu!, 1 = Taiko, 2 = CtB, 3 = osu!mania). Optional, default value is 0.
rank - the maximum rank of a score to be returned (between 1 - 500)
limit - amount of results to return from the most recent. Optional, default will return all plays in the rank interval.
type - specify if u is a user_id or a username. Use string for usernames or id for user_ids. Optional, default behavior is automatic recognition (may be problematic for usernames made up of digits only).
Proposal
I've been looking for a way to get data for a user's scores that are in the top 1-500 of all beatmaps. Pretty much the same as osustats.ppy.sh but as a get request. For some users this would be quite lengthy but I'm sure there's some way around that.
Practical applications for this would include commands bots to return the amount of top n (1 to n) scores a user has, or alternative ranking systems that weight map rank and length held (and more applications I probably haven't thought of).
Example Parameters
k
- api key (required).u
- specify a user_id or a username to return metadata from (required).m
- mode (0 = osu!, 1 = Taiko, 2 = CtB, 3 = osu!mania). Optional, default value is 0.rank
- the maximum rank of a score to be returned (between 1 - 500)limit
- amount of results to return from the most recent. Optional, default will return all plays in the rank interval.type
- specify if u is a user_id or a username. Use string for usernames or id for user_ids. Optional, default behavior is automatic recognition (may be problematic for usernames made up of digits only).Example Response
The text was updated successfully, but these errors were encountered: