forum

APIv2 - Get beatmap difficulty with mods parameter

posted
Total Posts
2
Topic Starter
PyroMasterify
Hi,

Recently started working on a small project to facilitate the creation of map pools that involves using osu! API v2. The API would get all the required information about a particular beatmap (ar, cs, hp and od).
This part is already done and working.

I now want to get the same values but with certain mods activated (e.g., a 3* map with DT would turn into a ~5* map).
I've tried adding several parameters/headers to the request (mods, mods[], mod) and both string values and bitwise enums but to no avail.

I've read that
/get_beatmaps?mods=X
from api v1 would to the trick but I haven't managed to get it to work (https://github.com/ppy/osu-api/issues/81).

Is there any "mods" parameter in v2 that is actually working but undocumented?

Thank you in advance.
KerLq
You might have figured it out already but getBeatmap doesn't have mods as optional parameter
Please sign in to reply.

New reply