Scores¶
- download_score(self, score_id, *, raw=False)¶
Download the replay data of a score.
This endpoint is for score ids which don’t have a matching gamemode (new id format). If you have an old score id, use api.download_score_mode.
- Parameters:
- Return type:
Notes
Implements the Download Score endpoint.
- download_score_mode(self, mode, score_id, *, raw=False)¶
Download the replay data of a score.
This endpoint is for score ids which have a matching gamemode (old id format). If you have a new score id, use api.download_score.
- Parameters:
- Return type:
Notes
Implements the Download Score endpoint.
- score(self, score_id)¶
Get a score. This corresponds to urls of the form https://osu.ppy.sh/scores/1312718771 (“new id format”).
If you have an old id which is per-gamemode, use api.score_mode.
Notes
Implements the Get Score endpoint.
- score_mode(self, mode, score_id)¶
Get a score, where the score id is specific to the gamemode. This corresponds to urls of the form https://osu.ppy.sh/scores/osu/4459998279 (“old id format”).
If you have a new id which is global across gamemodes, use api.score.
- Parameters:
- Return type:
Notes
Implements the Get Score endpoint.