GET_getByRiotId
API URL:
https://{cluster}.api.riotgames.com/riot/account/v1/accounts/by-riot-id/{gameName}/{tagLine}
Description
Get account by riot id.
async def GET_getByRiotId(self, gameName: str, tagLine: str, cluster: str = None) -> dict:
Arguments
Keyword Arguments
cluster: String = None
Examples
Basic example (Just required arguments)
import valaw
client = valaw.Client("riot_api_token", "cluster")
async def func():
account_data = await client.GET_getByRiotId("gameName", "tagLine")
Advanced example (With Keyword Arguments)
import valaw
client = valaw.Client("riot_api_token", "cluster")
async def func():
account_data = await client.GET_getByRiotId("gameName", "tagLine", cluster="cluster")