GET_getActiveShard

  • Riot Documentation

  • API URL:

    https://{cluster}.api.riotgames.com/riot/account/v1/active-shards/by-game/val/by-puuid/{puuid}
    

Description

Get active shard for a player.

async def GET_getActiveShard(self, puuid: str, cluster: str = None) -> dict:

Arguments

Keyword Arguments

Examples

Basic example (Just required arguments)

import valaw

client = valaw.Client("riot_api_token", "cluster")

async def func():
    account_data = await client.GET_getActiveShard("PUUID")

Advanced example (With Keyword Arguments)

import valaw

client = valaw.Client("riot_api_token", "cluster")

async def func():
    account_data = await client.GET_getActiveShard("puuid", cluster="cluster")