ChampionMasteryApiV4¶
-
class
riotwatcher._apis.
ChampionMasteryApiV4
(base_api)¶ This class wraps the Champion-Mastery-v4 Api calls provided by the Riot API.
See https://developer.riotgames.com/api-methods/#champion-mastery-v4/ for more detailed information
-
by_summoner
(region, encrypted_summoner_id)¶ Get all champion mastery entries.
Parameters: - region (string) – the region to execute this request on
- encrypted_summoner_id (string) – Summoner ID associated with the player
Returns: List[ChampionMasteryDTO]: This object contains a list of Champion Mastery information for player and champion combination.
-
by_summoner_by_champion
(region, encrypted_summoner_id, champion_id)¶ Get a champion mastery by player ID and champion ID.
Parameters: - region (string) – the region to execute this request on
- encrypted_summoner_id (string) – Summoner ID associated with the player
- champion_id (long) – Champion ID to retrieve Champion Mastery for
Returns: ChampionMasteryDTO: This object contains single Champion Mastery information for player and champion combination.
-
scores_by_summoner
(region, encrypted_summoner_id)¶ Get a player’s total champion mastery score, which is the sum of individual champion mastery levels
Parameters: - region (string) – the region to execute this request on
- encrypted_summoner_id (string) – Summoner ID associated with the player
Returns: int
-