Allows interaction with the publically available ScoreSaber Ranking API endpoints (not ranking team related functions)
- Source
Methods
(static) belowTop() → {Promise.<Array>}
Gets the rest of the rank requests
- Source
Returns:
Returns a Promise with the rest of the rank requests
- Type:
- Promise.<Array>
(static) getRequestInfoByLeaderboardId(leaderboardId) → {Promise.<Array>}
Gets rank request info based on a Leaderboard ID
Parameters:
Name | Type | Description |
---|---|---|
leaderboardId | number | Leaderboard ID of map |
- Source
Returns:
Returns a Promise with the rank request information
- Type:
- Promise.<Array>
(static) getRequestInfoByRequestId(requestId) → {Promise.<Array>}
Gets rank request info based on request ID
Parameters:
Name | Type | Description |
---|---|---|
requestId | number | Rank request ID |
- Source
Returns:
Returns a Promise with the rank request information
- Type:
- Promise.<Array>
(static) top() → {Promise.<Array>}
Gets the top 6 rank requests
- Source
Returns:
Returns a Promise with the top 6 rank requests
- Type:
- Promise.<Array>