riotpy is a Python library for Riot API. Currently this is for only SUMMONER-V4
, SPECTATOR-V4
, and MATCH-V5
.
- First of all, you need to get Riot API key from https://developer.riotgames.com/.
- Set
riot
variable withriot = riotpy.Riot('my_api_key')
- Use functions with it like
riot.summoner(summonerName='hide on bush')
. - Plus, use query strings by kwargs like `riot.match(puuid=puuid, start=0, count=1)