-
Notifications
You must be signed in to change notification settings - Fork 6
Leagues
Sankarsan Kampa edited this page Dec 16, 2017
·
1 revision
Returns a dictionary of Pokémon League names known to us.
Returns: Dictionary
Example:
leagues = pokedex.get_leagues()
print(leagues)
Returns a Pokémon League dictionary containing the details about the league.
Parameter | Type | Optional | Default | Description |
---|---|---|---|---|
slug | String |
❌ | none | The string used to identify this league |
Returns: PokemonLeague
Example:
league = pokedex.get_league('kalos')
print(league)