https://github.com/ah00ee/python-league
https://github.com/ah00ee/python-league
league league-of-legends lol openapi python python-league
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/ah00ee/python-league
- Owner: ah00ee
- License: mit
- Created: 2023-10-23T09:13:31.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-12-09T01:00:35.000Z (over 2 years ago)
- Last Synced: 2025-11-27T10:35:24.258Z (4 months ago)
- Topics: league, league-of-legends, lol, openapi, python, python-league
- Language: Jupyter Notebook
- Homepage: https://pypi.org/project/python-league/
- Size: 106 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# python-league
Python-league는 Riot API를 사용하여 간편하게 리그 오브 레전드(롤) 데이터를 사용할 수 있도록 만든 python 라이브러리입니다.
# NOTICE
RiotGames is now recommending using Riot ID instead of summonerName. It supports getting information by summonerName right now, but it will be unsupported in the future.

## Installation

```
pip install python-league --upgrade
```
## Tutorial
Here's tutorial for your information.
## Region & Platform values
|Region|Platform|
|--|--|
|America|NA1|
||BR1|
||LA1|
||LA2|
|Asia|JP1|
||KR|
||PH2|
||SG2|
||TH2|
||TW2|
||VN2|
|Europe|EUN1|
||EUW1|
||TR1|
||RU|
|Sea|OC1|
## How to use
```python
from league import LeagueAPI
lol = LeagueAPI(api_key="Your API KEY")
summoner = lol.get_summoner_by_name(summoner_name="summoner name")
print(summoner.info())
```
## Warning
라이브러리 사용을 위해 Development API KEY를 발급받은 경우, Riot Games에서 rate limit을 1초에 20 requests, 2분에 100 requests로 제한하고 있습니다.