Biblioteca Python para acessar a PokéAPI de forma simples e organizada
Project description
pokeclient
Biblioteca Python para acessar a PokéAPI de forma simples e organizada.
Instalação
Se você usa uv:
uv init
uv add requests
uv pip install .
from pokeclient.client import PokeClient
client = PokeClient()
print(client.get_pokemon_name("gengar")) # gengar print(client.get_pokemon_types("lucario")) # ["fighting", "steel"] print(client.get_pokemon_stats("charizard")) # HP: 78, Attack: 84, ... print(client.get_pokemon_abilities("pikachu")) # ["static", "lightning-rod"] print(client.get_evolution_chain("eevee")) # ["eevee", "vaporeon", "jolteon", ...]
print(client.get_pokemon_official_artwork("mewtwo")) # link da artwork grande print(client.get_pokemon_animated_sprite("pikachu")) # link do GIF animado print(client.get_generation(1)["pokemon_species"]) # lista da geração 1 print(client.get_region(1)["locations"]) # locais da região Kanto
# Consultar nome
python pokecli.py pikachu
# Consultar tipos
python pokecli.py charizard --types
# Consultar estatísticas
python pokecli.py bulbasaur --stats
# Consultar habilidades
python pokecli.py gengar --abilities
# Consultar cadeia evolutiva
python pokecli.py eevee --evolution
# Consultar artwork oficial
python pokecli.py mewtwo --artwork
# Consultar sprite animada
python pokecli.py pikachu --animated
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pokeclient-0.1.0.tar.gz.
File metadata
- Download URL: pokeclient-0.1.0.tar.gz
- Upload date:
- Size: 3.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.11 {"installer":{"name":"uv","version":"0.11.11","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
42d06a1c06fb6ea63dbe271d1bfb640ef9359b88e09513f74f340b857131fa5c
|
|
| MD5 |
cca1c2dc66f7f8e6fdd6732ac13b8b91
|
|
| BLAKE2b-256 |
1dd3b86d79e9d0b755e50c32c5b44710f83c8b45474c758f25a5df449828c78d
|
File details
Details for the file pokeclient-0.1.0-py3-none-any.whl.
File metadata
- Download URL: pokeclient-0.1.0-py3-none-any.whl
- Upload date:
- Size: 3.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.11 {"installer":{"name":"uv","version":"0.11.11","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bdec8d83850f36f81b0535917b18097faa497265dbac7e765caf4744db4e65fe
|
|
| MD5 |
af8e9005fee51fa512166b1d6eef44de
|
|
| BLAKE2b-256 |
a84a7193b93d9c54a9fa153e0578f40c8214a93a8e14f4fa3cd882dc33d9168c
|