Account

Allows accessing to the puuid, gameName and tagLine of a LOL account. Official information at: https://developer.riotgames.com/apis#account-v1

Methods

by_puuid(clusterId, puuid, get_url=False)

Get account by puuid

clusterId: riot cluster ID. Accepted values: 0-2(inclusive) respective to 'AMERICAS', 'ASIA' & 'EUROPE'

puuid: Public User ID's are globally unique. Different APIs use different IDs

get_url: When true, don't make an API call and returns the url connection

return: JSON object retrieved from riot API call (or link when get_url is True)

by_riot_id(clusterId, gameName, tagLine, get_url=False)

Get account by riot id

clusterId: riot cluster ID. Accepted values: 0-2(inclusive) respective to 'AMERICAS', 'ASIA' & 'EUROPE'

gameName: Name as shown in the League Client (can contain not-alphabetic chars)

tagLine: Tag line as shown in the League Client

get_url: When true, don't make an API call and returns the url connection

return: JSON object retrieved from riot API call (or link when get_url is True)

Last updated