Skip to main content

Constructor

Always call client.close() when done. Use a try/finally block to ensure it is always called even if an error occurs.

Account

GET_getByPuuid

Get an account by PUUID. Returns: AccountDto or dict

GET_getByRiotId

Get an account by Riot ID (gameName#tagLine). Returns: AccountDto or dict

GET_getByAccessToken

Get the account associated with an RSO access token. Returns: AccountDto or dict

GET_getActiveShard

Get the active shard for a player. Returns: ActiveShardDto or dict

Content

GET_getContent

Get game content (characters, maps, skins, etc.), optionally filtered by locale. Returns: ContentDto or dict
Providing a locale results in faster response times from the API.

Match

GET_getMatch

Get full match details by match ID. Returns: MatchDto or dict

GET_getMatchlist

Get a player’s match history. Returns: MatchlistDto or dict

GET_getRecent

Get recent match IDs for a queue. Returns matches completed in the last 10 minutes (or 12 hours for esports). NA, LATAM, and BR share a match history deployment. Returns: RecentMatchesDto or dict

Ranked

GET_getLeaderboard

Get the competitive leaderboard for an act. Returns: LeaderboardDto or dict

Console Match

GET_getConsoleMatch

Get full console match details by match ID. Returns: MatchDto or dict

GET_getConsoleMatchlist

Get a console player’s match history. Returns: MatchlistDto or dict

GET_getConsoleRecent

Get recent console match IDs for a queue. Returns: RecentMatchesDto or dict

Console Ranked

GET_getConsoleLeaderboard

Get the console competitive leaderboard for an act. Returns: LeaderboardDto or dict

Status

GET_getPlatformData

Get VALORANT platform status (maintenances and incidents) for a region. Returns: PlatformDataDto or dict

RSO

Constructs a Riot Sign-On (RSO) OAuth authorization URL. This is a regular synchronous method — no await needed. Returns: str — the constructed authorization URL