Account class


A representation of a RIOT account.

Signature:

export declare class Account 

Constructor

new Account (data: AccountData)

Constructs a new instance of the Account class.

Parameters:

ParameterTypeDescription
dataAccountDataThe raw account data from the API.

Properties

identifier

The username#tag format of user's RIOT account.

Type: String


playerId

The unique ID for this account. This is also called the PUUID.

Type: String


username

The RIOT account username of this user.

Type: String


userTag

The RIOT account tag of this user.

Type: String


Table of Contents