A Python client library to use the Riot LoL API
More Endpoints coming soon... 🤘
- Create a Riot development API key here
- Import PyLoL into your script
- Initialize the PyLoL class using the API key in step 1
- Enjoy.
from pylol import PyLoL
api_key = 'RIOT_API_KEY'
# Instantiate PyLoL class
lol = PyLoL(api_key=api_key)
# Get IDs using Summoner Name
ids = lol.summoner.ids('Your Summoner Name')
# Get list of match IDs
match_list = lol.match.list('Your Summoner Name')
# Get Match summary
match_summary = lol.match.summary('Match ID')
# Get detailed match events
match_timeline = lol.match.timeline('Match ID')
Dimension | Type | Link |
---|---|---|
Champions | JSON | Version 11.9.1 |
- 20 requests every 1 seconds(s)
- 100 requests every 2 minutes(s)