tallgrass/client/form

Functions

pub fn fetch_by_id(id: Int) -> Result(Form, Error)

Fetches a pokemon form by the form ID.

Example

let result = form.fetch_by_id(10143)
pub fn fetch_by_name(name: String) -> Result(Form, Error)

Fetches a pokemon form by the form name.

Example

let result = form.fetch_by_name("mewtwo-mega-x")
Search Document