-
Notifications
You must be signed in to change notification settings - Fork 6
Pokémon
Sankarsan Kampa edited this page Feb 15, 2018
·
2 revisions
Returns a list of Pokémon dictionary containing all the forms of the Pokémon specified the Pokémon name.
Parameter | Type | Optional | Default | Description |
---|---|---|---|---|
name | String |
❌ | none | The name of the Pokémon |
Returns: Pokemon
Example:
pokemon = pokedex.get_pokemon_by_name('pikachu')
print(pokemon)
Returns a list of Pokémon dictionary containing all the forms of the Pokémon specified the Pokédex number.
Parameter | Type | Optional | Default | Description |
---|---|---|---|---|
number | Number |
❌ | none | The Pokédex number of the Pokémon |
Returns: Pokemon
Example:
pokemon = pokedex.get_pokemon_by_number(658)
print(pokemon)
Returns a Pokémon Counts dictionary containing the number of Pokémon in each generation and the total number of Pokémon in the Pokémon World.
Returns: PokemonCounts
Example:
pokemon_counts = pokedex.get_pokemon_counts()
print(pokemon_counts)