GET_getByPuuid

  • Riot Documentation

  • API URL:

    https://{cluster}.api.riotgames.com/riot/account/v1/accounts/by-puuid/{puuid}
    

Description

Get account by PUUID.

async def GET_getByPuuid(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_getByPuuid("puuid")

Advanced example (With Keyword Arguments)

import valaw

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

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