SummonerApiV4¶
-
class
riotwatcher._apis.SummonerApiV4(base_api)¶ This class wraps the Summoner-v4 endpoint calls provided by the Riot API.
See https://developer.riotgames.com/api-methods/#summoner-v4 for more detailed information
-
by_account(region, encrypted_account_id)¶ Get a summoner by account ID.
Parameters: - region (string) – The region to execute this request on
- encrypted_account_id (string) – The account ID.
Returns: SummonerDTO: represents a summoner
-
by_id(region, encrypted_summoner_id)¶ Get a summoner by summoner ID.
Parameters: - region (string) – The region to execute this request on
- encrypted_summoner_id (string) – Summoner ID
Returns: SummonerDTO: represents a summoner
-
by_name(region, summoner_name)¶ Get a summoner by summoner name
Parameters: - region (string) – The region to execute this request on
- summoner_name (string) – Summoner Name
Returns: SummonerDTO: represents a summoner
-
by_puuid(region, encrypted_puuid)¶ Get a summoner by PUUID.
Parameters: - region (string) – The region to execute this request on
- encrypted_puuid (string) – PUUID
Returns: SummonerDTO: represents a summoner
-