A Streamlit application for viewing League of Legends match history and champion mastery data using the Riot Games API.
-
Match History: View the last 10 matches with detailed statistics
- Champion played
- KDA (Kills/Deaths/Assists)
- CS (Creep Score)
- Damage dealt to champions
- Game mode and duration
- Win/Loss indicator
-
Champion Mastery: Display top 10 champions by mastery
- Champion level
- Mastery points
-
Multi-Region Support: Supports all major LoL regions
- Japan (jp1)
- Korea (kr)
- North America (na1)
- Europe West (euw1)
- Europe Nordic & East (eun1)
- And more...
pip install -r requirements.txt- Visit Riot Developer Portal
- Sign in with your Riot account
- Generate a Development API Key
streamlit run streamlit_app.py- Open the application in your browser
- Select your region from the sidebar
- Enter your Riot API Key in the sidebar
- Enter a summoner name
- Click "Fetch Data"
Development API keys have rate limits:
- 20 requests every 1 second
- 100 requests every 2 minutes
The app includes a small delay between requests to help avoid rate limiting.
- Make sure to select the correct region for the summoner you're searching
- API keys expire after 24 hours and need to be regenerated
- For production use, apply for a production API key from Riot
This project is for educational purposes. League of Legends and Riot Games are trademarks or registered trademarks of Riot Games, Inc.