Lightweight Python client for PokeAPI. Get Pokemon stats, abilities, types, and more. No API key needed.
from pokeapi import PokeClient
client = PokeClient()
# Get Pokemon by name or ID
pokemon = client.pokemon("pikachu")
print(f"{pokemon['name']} — HP: {pokemon['hp']}, Attack: {pokemon['attack']}")
print(f"Types: {', '.join(pokemon['types'])}")
print(f"Abilities: {', '.join(pokemon['abilities'])}")
# Search by type
fire_pokemon = client.by_type("fire")
print(f"{len(fire_pokemon)} fire-type Pokemon")
# Get generation
gen1 = client.generation(1)
print(f"Gen 1: {len(gen1)} Pokemon")
# Random Pokemon
random = client.random()
print(f"Random: {random['name']}")- 1000+ Pokemon — all generations, forms, and variants
- Stats, abilities, types — complete battle data
- Type matchups — strengths and weaknesses
- Sprite URLs — official artwork for each Pokemon
- Zero config — no API key, no signup
| Method | Description |
|---|---|
pokemon(name_or_id) |
Get Pokemon details |
by_type(type_name) |
List Pokemon of a type |
generation(gen_number) |
Pokemon in a generation |
random() |
Random Pokemon |
ability(name) |
Ability details |
type_info(name) |
Type matchup data |
- Pokemon team builder
- Pokedex web/mobile app
- Discord bot with Pokemon commands
- Educational tool for kids learning to code
- Data analysis projects
- dadjoke-python — Random jokes
- awesome-no-auth-apis — 50+ free APIs
MIT
I build production-ready scrapers, APIs, and data tools — 78+ deployed on Apify, 270+ open-source repos.
📧 spinov001@gmail.com — $250 flat rate, 48h delivery. Describe your project, get a free estimate in 2 hours.