Constructor
new ReplayComponent()
- Source:
Example
api.replay
.get('1110141', '4222959', Nodesu.Mode.osu)
.then(console.log);
Methods
get(beatmapId, userId, mode) → {Promise.<String>}
Gets the replay. - If ratelimiting is enabled in the Client, this is rate limited under a different bucket with the more stricter conditions that is forced upon this endpoint!
Parameters:
Name | Type | Description |
---|---|---|
beatmapId |
String | The beatmap ID of the map. |
userId |
String | The user that played that beatmap. |
mode |
Mode | The gamemode of the play. |
- Source:
Returns:
Base64 replay file string.
- Type
- Promise.<String>