update docs
This commit is contained in:
parent
c8bcd90089
commit
5fae4de945
@ -25,7 +25,7 @@ enum PlayerDataType {
|
||||
* @param page the page number
|
||||
* @param countries the countries to search
|
||||
* @param withMetadata whether to include metadata
|
||||
* @returns the players
|
||||
* @returns {ScoresaberPlayerSearch} the players
|
||||
*/
|
||||
export async function getPlayers(
|
||||
search: string,
|
||||
@ -45,7 +45,7 @@ export async function getPlayers(
|
||||
/**
|
||||
* Gets the number of active players on ScoreSaber
|
||||
*
|
||||
* @returns the number of active players
|
||||
* @returns {number} the number of active players
|
||||
*/
|
||||
export async function getActivePlayerCount(): Promise<number> {
|
||||
const url = `${CONSTS.BASE_URL}/${CONSTS.PLAYER_COUNT}`;
|
||||
@ -58,7 +58,7 @@ export async function getActivePlayerCount(): Promise<number> {
|
||||
*
|
||||
* @param playerId the players id (not the name)
|
||||
* @param type the type of data to get
|
||||
* @returns the player data
|
||||
* @returns {ScoresaberPlayer} the player data
|
||||
*/
|
||||
export async function getPlayer(
|
||||
playerId: string,
|
||||
|
Reference in New Issue
Block a user