Simple Pokedex Package
Project description
About
simplepokedex is a package that provides information about Pokemon using the PokeAPI. Information such as Pokemon abilities, types, and generations can be retrieved.
Implementation
To install, use pip install simplepokedex.
To import, use from simplepokedex import pokedex
Generate Random Pokemon:
pokedex.generate_pokemon(int generation, int random_seed)
- the first parameter
generationis a number for the generation of pokemon you want - both parameters are optional
- if both parameters are empty, it will generate a random pokemon
Pokemon Lookup
pokedex.pokemonLookup(string pokemonName_or_ID)
- enter the id or name of a pokemon
- this is a required parameter
- return is data about the requested pokemon
Ability Lookup
pokedex.abilityLookup(string ability)
- enter the ability name which is a required parameter
- returns the effect of the ability
Type Matchups
pokedex.poketypes(string type)
- enter the type that you want to check the matchups of
- returns the attacking matchups of the specified type
Contributors
Project details
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 simplepokedex-1.0.3.tar.gz.
File metadata
- Download URL: simplepokedex-1.0.3.tar.gz
- Upload date:
- Size: 42.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7d304cd0078e91a83e362d3c7a5f902b6b718fe6ceea1fc0e56f05bba296975d
|
|
| MD5 |
ecc3a9877c347cd7720edeceb97d7d6d
|
|
| BLAKE2b-256 |
840562160a6bac2577ce6200a6e0ed1c7de49000466248dc57b70d539005b5f2
|
File details
Details for the file simplepokedex-1.0.3-py3-none-any.whl.
File metadata
- Download URL: simplepokedex-1.0.3-py3-none-any.whl
- Upload date:
- Size: 33.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b8ab65471c61def943f054679f5af4fcc823d89a1dbd412911ec299e8109e450
|
|
| MD5 |
7e371963f7eb31fbf07bdec089f502fd
|
|
| BLAKE2b-256 |
813126a86512b85e5b29c185b6ad3dd67197954a2bc6ee141e22acd30901a5fe
|