tallgrass/client/pokeathlon_stat
Functions
pub fn fetch_by_id(id: Int) -> Result(PokeathlonStat, Error)
Fetches a pokemon pokeathlon stat by the pokeathlon stat ID.
Example
let result = pokeathlon_stat.fetch_by_id(1)
pub fn fetch_by_name(
name: String,
) -> Result(PokeathlonStat, Error)
Fetches a pokemon pokeathlon stat by the pokeathlon stat name.
Example
let result = pokeathlon_stat.fetch_by_name("skill")