tallgrass/client/growth_rate
Functions
pub fn fetch_by_id(id: Int) -> Result(GrowthRate, Error)
Fetches a pokemon growth rate by the growth rate ID.
Example
let result = growth_rate.fetch_by_id(1)
pub fn fetch_by_name(name: String) -> Result(GrowthRate, Error)
Fetches a pokemon growth rate by the growth rate name.
Example
let result = growth_rate.fetch_by_name("slow")