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