- Preparing search index...
- The search index is not available
multiversus.js
Constructors
constructor
-
new Client(accessToken: string, clientId: string): Client
-
Parameters
-
accessToken: string
-
clientId: string
Methods
getBattlepass
-
getBattlepass(id: string): Promise<any>
-
Returns Promise<any>
getClan
-
getClan(id: string, page?: number, count?: number): Promise<any>
-
Parameters
-
id: string
-
Optional
page:
number
-
Optional
count:
number
Returns Promise<any>
getMatch
-
getMatch(id: string): Promise<any>
-
Returns Promise<any>
getMatches
-
getMatches(id: string, page?: number): Promise<any>
-
Parameters
-
id: string
-
Optional
page:
number
Returns Promise<any>
getProfileLeaderboard
-
getProfileLeaderboard(id: string, type: leaderboardType): Promise<any>
-
Returns Promise<any>
getProfileLeaderboardForCharacter
-
getProfileLeaderboardForCharacter(id: string, type: leaderboardType, character: string): Promise<any>
-
Parameters
-
id: string
-
-
character: string
Returns Promise<any>
getQuests
-
getQuests(id: string): Promise<any>
-
Returns Promise<any>
searchByUsername
-
searchByUsername(username: string, limit?: number): Promise<any>
-
Parameters
-
username: string
-
Optional
limit:
number
Returns Promise<any>
Class representing the base client of MultiVersus.