Tenha acesso facilmente aos dados dos campeões e skins do League of Legends.
Project description
Dependências
Python 3.11 (ou qualquer versão superior)
Requests (instalado automaticamente, se necessário)
Instalação
Execute o comando abaixo em seu terminal.
python -m pip install league-data
Como funciona?
A biblioteca foi criada para facilitar a vida de pessoas que usam dados do League of Legends.
Você pode, por exemplo, buscar as skins de cada campeão de forma atualizada e automática!
Exemplos
Clique para visualizar o código de exemplo
from league_data import League
league = League()
champion = league["zeri"] # -> <league_data.models.Champion object at ...>
skin = league["ocean song zeri"] # -> <league_data.models.Skin object at ...>
Clique para visualizar um vídeo de demonstração
Outros exemplos estão disponíveis na documentação.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
league_data-1.2.3.tar.gz
(11.8 kB
view details)
Built Distribution
File details
Details for the file league_data-1.2.3.tar.gz
.
File metadata
- Download URL: league_data-1.2.3.tar.gz
- Upload date:
- Size: 11.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.4.1 CPython/3.11.2 Windows/10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e74a95c705fe1e86bb4416574ae70d75bc17328a37effead9a319c823653c3a4 |
|
MD5 | a04dc2b01f99badf38290adcfdbb8d5e |
|
BLAKE2b-256 | fc1bf53182ae1b4e1ef7080f5396271cfd5a485813bc98b7859db268ee232b0c |
File details
Details for the file league_data-1.2.3-py3-none-any.whl
.
File metadata
- Download URL: league_data-1.2.3-py3-none-any.whl
- Upload date:
- Size: 13.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.4.1 CPython/3.11.2 Windows/10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0feab53315a05b61ec37945dd095c390162da7debecdbe2b63e05f1e914d733e |
|
MD5 | dc2ebb163418f4c81538a3a8ee708797 |
|
BLAKE2b-256 | be4001be04385258c8e42b82cb3a7d58a893830adb503761a44d048f4d15b156 |