Spectator
Allows the request of information of lives game
Methods
active_games_by_summoner(regionId, encryptedSummonerId, get_url=False)
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)
featured_games(regionId, get_url=False)
regionId: LOL server ID. Accepted values: 0-11(inclusive) for 'BR1', 'EUN1', 'EUW1', 'JP1', 'KR', 'LA1', 'LA2', 'NA1', 'OC1', 'RU' & 'TR1'
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