Giter Club home page Giter Club logo

python-league's Introduction

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.

example_riot_id

Installation

Generic badge

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

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로 제한하고 있습니다.

python-league's People

Contributors

ah00ee avatar

Watchers

 avatar

python-league's Issues

Get summoner 방식 추가

현재 -> 'summoner name'으로만 요청

수정 요청 -> 'puuid', 'summonerId'로 요청하는 방식 추가

Summoner Names to Riot IDs

Summoner Names to Riot IDs

On November 20, 2023, we are transitioning our systems away from Summoner Names to using Riot ID as an authoritative way to reference players in League and TFT starting later this year. As such, you will need to make an update to the applicable API. Details for this transition can be found below.

All player-facing front-end fields and forms will require modification. Applications featuring the "Find your Summoner by Region + Name" functionality must adapt to locate summoners using Riot IDs, which are formed by combining the "game name" and "tag line".

For all other Riot API endpoints, filtering by player can be accomplished using either the PUUID or summonerID. Some APIs offer both options, but we recommend employing PUUID endpoints when available.

https://developer.riotgames.com/docs/lol

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.