tallgrass

Package Version Hex Docs

The tallgrass package is a Gleam wrapper for the PokeAPI.

It doesn’t currently support paginated resource lists nor the majority of endpoints outside of the Pokemon endpoint group, such as locations, machines, moves, et al.

As such, the tallgrass package is not yet at v1.0.0, and breaking changes should be expected until it is.

gleam add tallgrass
import tallgrass/client/pokemon

pub fn main() {
  let assert Ok(ditto) = pokemon.fetch_by_id(132)
}

Further documentation can be found at https://hexdocs.pm/tallgrass.

Development

gleam test  # Run the tests
Search Document