client/egg_group

Functions

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

Fetches a pokemon egg group by the egg group ID.

Example

let result = egg_group.fetch_by_id(13)
pub fn fetch_by_name(name: String) -> Result(EggGroup, Error)

Fetches a pokemon egg group by the egg group name.

Example

let result = egg_group.fetch_by_name("ditto")
Search Document