Crate pokemon_rs

source ·


  • Returns a list of all Pokémons from all generations
  • Returns all region names
  • Returns the Pokémon as a &str that corresponds given id
  • Returns a whole generation as a sorted Vector<&str> based on its given region name
  • Returns the Pokémon’s id that corresponds to a given id
  • Returns region name from generation number in released order.
    Kanto = 1, Johto = 2, Hoenn = 3 …
  • Returns a random Pokémon out of all Pokémon released to this day