LeaderboardsApi
Import
Import
Constructors
Constructor
- 
      							Parameters- 
      									Optional configuration: Configuration
- 
      									basePath: string = ...
- 
      									axios: AxiosInstance = ...
 Returns LeaderboardsApi
- 
      									
Methods
Add Leaderboard Player Score
- 
      							Parameters- 
      									projectId: stringThe project's Project ID 
- 
      									leaderboardId: stringID of the leaderboard 
- 
      									playerId: stringID of the player 
- 
      									Optional leaderboardScore: LeaderboardScore
- 
      									Optional options: AxiosRequestConfig
 Returns Promise<AxiosResponse<void>>
- 
      									
Get Leaderboard Player Score
- 
      							Get score and rank for the specified player in the specified leaderboard. Parameters- 
      									projectId: stringThe project's Project ID 
- 
      									leaderboardId: stringID of the leaderboard 
- 
      									playerId: stringID of the player 
- 
      									Optional options: AxiosRequestConfig
 Returns Promise<AxiosResponse<LeaderboardEntry>>
- 
      									
Get Leaderboard Scores
- 
      							Get list of scores and ranks for the specified leaderboard, with specified pagination. Parameters- 
      									projectId: stringThe project's Project ID 
- 
      									leaderboardId: stringID of the leaderboard 
- 
      									Optional offset: number
- 
      									Optional limit: number
- 
      									Optional options: AxiosRequestConfig
 Returns Promise<AxiosResponse<LeaderboardScoresPage>>
- 
      									
Get Leaderboard Scores By Player Ids
- 
      							Get list of scores and ranks for the specified leaderboard, with specified playerIds. Parameters- 
      									projectId: stringThe project's Project ID 
- 
      									leaderboardId: stringID of the leaderboard 
- 
      									Optional leaderboardPlayerIds: LeaderboardPlayerIds
- 
      									Optional options: AxiosRequestConfig
 Returns Promise<AxiosResponse<LeaderboardScoresWithNotFoundPlayerIds>>
- 
      									
Get Leaderboard Scores By Tier
- 
      							Get list of scores and ranks for the specified leaderboard, within the specified tier, with specified pagination. Parameters- 
      									projectId: stringThe project's Project ID 
- 
      									leaderboardId: stringID of the leaderboard 
- 
      									tierId: stringID of the leaderboard tier. 
- 
      									Optional offset: number
- 
      									Optional limit: number
- 
      									Optional options: AxiosRequestConfig
 Returns Promise<AxiosResponse<LeaderboardTierScoresPage>>
- 
      									
Get Leaderboard Scores Player Range
- 
      							Get the list of neighbouring players for the specified player Id. Parameters- 
      									projectId: stringThe project's Project ID 
- 
      									leaderboardId: stringID of the leaderboard 
- 
      									playerId: stringID of the player 
- 
      									Optional rangeLimit: number
- 
      									Optional options: AxiosRequestConfig
 Returns Promise<AxiosResponse<LeaderboardScores>>
- 
      									
Get Leaderboard Version Player Score
- 
      							Get score and rank for the specified player in the specified archived leaderboard version. Parameters- 
      									projectId: stringThe project's Project ID 
- 
      									leaderboardId: stringID of the leaderboard 
- 
      									versionId: stringID of the leaderboard version 
- 
      									playerId: stringID of the player 
- 
      									Optional options: AxiosRequestConfig
 Returns Promise<AxiosResponse<LeaderboardVersionEntry>>
- 
      									
Get Leaderboard Version Scores
- 
      							Get list of scores and ranks for the specified archived leaderboard version, with specified pagination. Parameters- 
      									projectId: stringThe project's Project ID 
- 
      									leaderboardId: stringID of the leaderboard 
- 
      									versionId: stringID of the leaderboard version 
- 
      									Optional offset: number
- 
      									Optional limit: number
- 
      									Optional options: AxiosRequestConfig
 Returns Promise<AxiosResponse<LeaderboardVersionScoresPage>>
- 
      									
Get Leaderboard Version Scores By Tier
- 
      							Get list of scores and ranks for the specified archived leaderboard version, within the specified tier, with specified pagination. Parameters- 
      									projectId: stringThe project's Project ID 
- 
      									leaderboardId: stringID of the leaderboard 
- 
      									versionId: stringID of the leaderboard version 
- 
      									tierId: stringID of the leaderboard tier. 
- 
      									Optional offset: number
- 
      									Optional limit: number
- 
      									Optional options: AxiosRequestConfig
 Returns Promise<AxiosResponse<LeaderboardVersionTierScoresPage>>
- 
      									
Get Leaderboard Version Scores Player Range
- 
      							Get the list of neighbouring players for the specified player Id for an archived Leaderboard. Parameters- 
      									projectId: stringThe project's Project ID 
- 
      									leaderboardId: stringID of the leaderboard 
- 
      									versionId: stringID of the leaderboard version 
- 
      									playerId: stringID of the player 
- 
      									Optional rangeLimit: number
- 
      									Optional options: AxiosRequestConfig
 Returns Promise<AxiosResponse<LeaderboardVersionRange>>
- 
      									
Get Leaderboard Versions
- 
      							Get list of archived leaderboard versions for the specified leaderboard, with specified pagination. Parameters- 
      									projectId: stringThe project's Project ID 
- 
      									leaderboardId: stringID of the leaderboard 
- 
      									Optional options: AxiosRequestConfig
 Returns Promise<AxiosResponse<LeaderboardVersions>>
- 
      									
Add score for the specified player to the specified leaderboard.
Add Leaderboard Player Score
{RequiredError}
LeaderboardsApi