PlayerManager
Hierarchy
- BaseManager
- PlayerManager
Index
Constructors
Methods
Constructors
publicconstructor
Parameters
client: Client
Returns PlayerManager
Methods
publicfetch
Fetch a player using their username or uuid
Parameters
identifier: string
The username/uuid of the player
Returns Promise<Player>
publicgetRecentlyPlayedGames
Fetch the recently played games of a player
Parameters
identifier: string
The username/uuid of the player
Returns Promise<GetRecentlyPlayedGamesResponse[]>
publicgetStatus
Fetch the status of a player
Parameters
identifier: string
The username/uuid of the player
Returns Promise<GetStatusResponse>
Player related endpoints.