Summoner
Allows access to the information of a specific summoner. Returns a SummonerDTO
Methods
by_account(regionId, encryptedAccountId, get_url=False)
Get a summoner SummonerDTO by account ID
regionId: LOL server ID. Accepted values: 0-11(inclusive) for 'BR1', 'EUN1', 'EUW1', 'JP1', 'KR', 'LA1', 'LA2', 'NA1', 'OC1', 'RU' & 'TR1'
encryptedAccountId: Summoner IDs are only unique per region. 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_name(regionId, summonerName, get_url=False)
Get a summoner SummonerDTO by summoner name.
regionId: LOL server ID. Accepted values: 0-11(inclusive) for 'BR1', 'EUN1', 'EUW1', 'JP1', 'KR', 'LA1', 'LA2', 'NA1', 'OC1', 'RU' & 'TR1'
summonerName: Name as shown in the League Client (can contain not-alphabetic chars)
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_puuid(regionId, encryptedPUUID, get_url=False)
Get a summoner SummonerDTO by PUUID
regionId: LOL server ID. Accepted values: 0-11(inclusive) for 'BR1', 'EUN1', 'EUW1', 'JP1', 'KR', 'LA1', 'LA2', 'NA1', 'OC1', 'RU' & 'TR1'
encryptedPUUID: 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_encrypted_summoner_id(regionId, encryptedSummonerId, get_url=False)
Get a summoner SummonerDTO by summoner ID
regionId: LOL server ID. Accepted values: 0-11(inclusive) for 'BR1', 'EUN1', 'EUW1', 'JP1', 'KR', 'LA1', 'LA2', 'NA1', 'OC1', 'RU' & 'TR1'
encryptedSummonerId: Summoner IDs are only unique per region. 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)
Last updated