ppy / osu-api

Public API for accessing osu! related data.
320 stars 16 forks source link

/get_user historical global rank #299

Closed jxu closed 4 years ago

jxu commented 4 years ago

At least the past 90 days which is viewable on a user's profile

aspriddell commented 4 years ago

This functionality already exists in v2 (so it probably won't be coming to v1)

It can be obtained from /api/v2/me/{mode?} or /api/v2/users/{user}/{mode?} (but you'll need an OAuth client registered for this). You can find the data models for these endpoints in the osu!lazer repo

Note: as of posting access to the second endpoint is not available, but there is an approved PR that will enable it.

jxu commented 4 years ago

This is the same situation as with Lazer. "It's coming in Lazer" but Lazer isn't out yet so we get no features for an indefinite amount of time

jxu commented 4 years ago

@aspriddell btw do you know how much history is given? If it is enough then we could possibly reconstruct historical leaderboards

aspriddell commented 4 years ago

@jxu I think you get the equivalent data to the site (the last 90 days in a list of numbers) when you lookup a user (which you can now do).

peppy commented 4 years ago

@jxu apiv2 is already "out" and usable. please use it for this.