Riot-APY

class RiotAPY(api_key: str)[source]

Initiate a RiotAPY class, from which all API calls will be made.

Parameters:api_key (str) – API key

Note

Your API key can be found over here by creating a Riot Games Developer account.

champion

Interface to the ChampionAPI.

Return type:ChampionAPI
champion_mastery

Interface to the ChampionMasteryAPI.

Return type:ChampionMasteryAPI
datadragon

Interface to the DataDragonAPI.

Return type:DataDragonAPI
league

Interface to the LeagueAPI.

Return type:LeagueAPI
match

Interface to the MatchAPI.

Return type:MatchAPI
spectator

Interface to the SpectatorAPI.

Return type:SpectatorAPI
summoner

Interface to the SummonerAPI.

Return type:SummonerAPI