Skip to main content

AccountDto

Returned by GET_getByPuuid, GET_getByRiotId, and GET_getByAccessToken.
FieldTypeDescription
puuidstrThe player’s unique identifier
gameNamestr | NoneThe player’s in-game name (left of #)
tagLinestr | NoneThe player’s tag line (right of #)
account = await client.GET_getByRiotId("PlayerName", "NA1")
print(f"{account.gameName}#{account.tagLine}")
print(f"PUUID: {account.puuid}")

ActiveShardDto

Returned by GET_getActiveShard.
FieldTypeDescription
puuidstrThe player’s unique identifier
gamestrThe game identifier (always "val" for VALORANT)
activeShardstrThe player’s active region (e.g., "na", "eu", "ap")
shard = await client.GET_getActiveShard("player-puuid")
print(f"Active region: {shard.activeShard}")