osu-api icon indicating copy to clipboard operation
osu-api copied to clipboard

currently playing in get_user

Open LeaPhant opened this issue 9 years ago • 0 comments

Request: I'd really like a way to get the beatmap_id and enabled_mods of the map a user is currently playing with the get_user request.

As the beatmap a user is currently playing is visible in the player list ingame I think this should be possible.

Possible workaround: Getting the newest entry in get_user_recent.

Possible caveats (of workaround): This only works for ranked maps and only works if a player failed at least once with a high enough combo/score for the score to be in this list.

Use case: A Discord bot or browser extension/userscript calculating and displaying pp for various accuracy values for the current map a user is playing with mods. Like Tillerinobot's /np but outside the game and for any user.

LeaPhant avatar Oct 22 '16 01:10 LeaPhant