Account

Account

new Account()

An API returned Account object
Source:

Members

accountId :string

Account ID
Source:
Type:
  • string

curr_duo :Object

Stats for squad game mode in the current season Has same properties as solo
Source:
Type:
  • Object

curr_solo :Object

Stats for solo game mode in the current season Has same properties as solo
Source:
Type:
  • Object

curr_squad :Object

Stats for squad game mode in the current season Has same properties as solo
Source:
Type:
  • Object

displayName :string

Account username
Source:
Type:
  • string

duo :Object

Stats for duo game mode Has same properties as solo
Source:
Type:
  • Object

platformId :string

Platform ID
Source:
Type:
  • string

platformName :string

Platform Name
Source:
Type:
  • string

platformNameLong :string

Longer platform name
Source:
Type:
  • string

recentMatches :Array.<RecentMatch>

Recent matches that user has played
Source:
Type:

solo :Object

Stats for solo game mode
Properties:
Name Type Description
solo.trnRating Object TRN rating in solo
solo.score Object Score in solo
solo.top1 Object Number of wins in solo
solo.top3 Object Number of times in top 3 in solo
solo.top5 Object Number of times in top 5 in solo
solo.top6 Object Number of times in top 6 in solo
solo.top10 Object Number of times in top 10 in solo
solo.top12 Object Number of times in top 12 in solo
solo.top25 Object Number of times in top 25 in solo
solo.kd Object Kill/Death ratio in solo
solo.winRatio Object Win ratio in solo
solo.matches Object Number of matches in solo
solo.kills Object Number of kills in solo
solo.kpg Object Average kills per game in solo
solo.scorePerMatch Object Score per match in solo
Source:
Type:
  • Object

squad :Object

Stats for squad game mode Has same properties as solo
Source:
Type:
  • Object

stats :Object

Lifetime stats for the user
Properties:
Name Type Description
stats.top3 string Number of times in top 3
stats.top5 string Number of times in top 5
stats.top6 string Number of times in top 6
stats.top12 string Number of times in top 12
stats.top25 string Number of times in top 25
stats.score string Lifetime score
stats.matches string Number of matches
stats.top1 string Number of wins
stats.winPercent string Win percentage
stats.kills string Number of kills
stats.kd string Kill/Death ratio
Source:
Type:
  • Object