tallgrass/client/pokedex
Functions
pub fn fetch_by_id(id: Int) -> Result(Pokedex, Error)
Fetches a pokedex by the pokedex ID.
Example
let result = pokedex.fetch_by_id(2)
pub fn fetch_by_name(name: String) -> Result(Pokedex, Error)
Fetches a pokedex by the pokedex name.
Example
let result = pokedex.fetch_by_name("kanto")