Skip to content

dangkv/lol_python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PyLoL - League of Legends Python SDK

License

A Python client library to use the Riot LoL API

More Endpoints coming soon... 🤘

🎯 Getting Started

  1. Create a Riot development API key here
  2. Import PyLoL into your script
  3. Initialize the PyLoL class using the API key in step 1
  4. Enjoy.

🗒️ Example

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')

🔑 Dimensional Key

Dimension Type Link
Champions JSON Version 11.9.1

👎 Rate Limits

  • 20 requests every 1 seconds(s)
  • 100 requests every 2 minutes(s)

About

A Python client library to use the Riot LoL API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages