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

get maps with any status & get updated_since

Open shiro opened this issue 9 years ago • 2 comments

At the moment it's only possible to get approved beatmaps from the API, so I would suggest adding a parameter to specify the status of the maps returned. In conjunction it would be very useful to be able to return beatmaps that were updated since a certain datetime, just like the "since" parameter. I'd recommend something like: approved -> status, a bitwise enum number for statuses to return updated_since -> a datetime, working like "since", but with the "last_update" data

With that we could create beatmap databases with more than just ranked/approved beatmaps, as well as up-to-date beatmap mirrors for unranked maps.

We could easily implement that into our current project and maybe, sometime in the future provide an open beatmap search API (which is already done and working) that supports many parameters as well as a mirror for up-to-date unranked beatmaps.

shiro avatar Aug 05 '15 01:08 shiro

For the time being I plan on limiting the API to ranked maps only. This may change in the future. I'll leave this issue open for now.

peppy avatar Aug 07 '15 02:08 peppy

Not sure how the API has changed since this issue was opened, but as of right now get_beatmaps returns maps of all ranked status including pending and graveyarded. Since that's the case, would it now be possible to add unranked maps to results that were obtained using since?

christopher-dG avatar Apr 26 '17 21:04 christopher-dG