ChampionMastery
Allows accessing the score and ChampionMasteryDto of every or a single champion
Methods
by_summoner(regionId, encryptedSummonerId, get_url=False)
Get all champion mastery entries sorted by number of champion points descending,
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)
by_summoner_champion(regionId, encryptedSummonerId, championId, get_url=False)
Get a champion mastery by player ID and champion 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
championId: Integer that represents the champion you want to retrieve (e.g. 1 -> Annie)
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)
score_by_summoner(regionId, encryptedSummonerId, get_url=False)
Get a player's total champion mastery score, which is the sum of individual champion mastery levels.
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