SpectatorApiV4¶
-
class
riotwatcher._apis.league_of_legends.
SpectatorApiV4
(base_api: riotwatcher._apis.BaseApi.BaseApi)¶ This class wraps the Spectator-v4 endpoint calls provided by the Riot API.
See https://developer.riotgames.com/api-methods/#spectator-v4 for more detailed information
Initialize a new SpectatorApiV3 which uses the provided base_api
Parameters: base_api (BaseApi) – the root API object to use for making all requests. -
by_summoner
(region: str, encrypted_summoner_id: str)¶ Get current game information for the given summoner ID
Parameters: - region (string) – The region to execute this request on
- encrypted_summoner_id (string) – The ID of the summoner.
Returns: CurrentGameInfo
-
featured_games
(region: str)¶ Get list of featured games.
Parameters: region (string) – The region to execute this request on Returns: FeaturedGames
-