osu.js icon indicating copy to clipboard operation
osu.js copied to clipboard

Beatmap missing fields and Beatmapset api endpoint missing

Open EnricoBaivo opened this issue 10 months ago • 0 comments

The API Endpoint "getBeatmapset" is missing, GET api/v2/beatmapsets/{beatmapset} https://osu.ppy.sh/docs/index.html#get-apiv2beatmapsetsbeatmapset

I found this issue while trying to get the genre from a beatmap via the getBeatmap. Path: getBetamap ---> .beatmapset ---> .genre | is undefined

Struckture: Beatmapset Represents a beatmapset.

artist | string |   artist_unicode | string |   covers | Covers |   creator | string |   favourite_count | integer |   id | integer |   nsfw | boolean |   offset | integer |   play_count | integer |   preview_url | string |   source | string |   status | string |   spotlight | boolean |   title | string |   title_unicode | string |   user_id | integer |   video | boolean

Field Type Description beatmaps (Beatmap|BeatmapExtended)[] converts current_nominations Nomination[] current_user_attributes description discussions events genre has_favourited boolean language nominations pack_tags string[] ratings recent_favourites related_users user track_id integer

EnricoBaivo avatar Apr 12 '24 11:04 EnricoBaivo