Expand description

Requesting-structs that implement Future for each endpoint

Structs

Get top scores of a beatmap by its id in form of a vec of Scores.

Get BeatmapUserScore of a user on a beatmap by the user’s and the map’s id.

Get the top score with each mod combination of a user on a map in the form of a vec of Scores.

Get a vec of BeatmapCompact by their map ids.

Get a BeatmapsetSearchResult struct containing the first page of maps that fit the search query.

Get a ChartRankings struct containing a Spotlight, its Beatmapsets, and participating UserCompact.

Get a list of comments and their replies up to two levels deep in form of a CommentBundle.

Get a CountryRankings struct containing a vec of CountryRankings which will be sorted by the country’s total pp.

Get a ForumPosts struct for a forum topic

Get an OsuMatch by its id

Get a MatchList containing all currently open multiplayer lobbies.

Get a News struct.

Get the User of the authenticated user.

Get a Rankings struct whose UserCompacts are sorted by their pp, i.e. the current pp leaderboard.

Get a vec of RecentEvent of a user by their id.

Get a Score struct.

Get a Rankings struct whose UserCompacts are sorted by their ranked score, i.e. the current ranked score leaderboard.

Get a vec of Spotlights.

Get a User by their id.

Get the Beatmapsets of a user by their id.

Get a user’s kudosu history by their user id in form of a vec of KudosuHistory.

Get the most played beatmaps of a user by their id in form of a vec of MostPlayedMap.

Get a vec of Score of a user by the user’s id.

Get a vec of UserCompact by their ids.

Get a WikiPage or image data.

Enums

Either a user id as u32 or a username as String.