A tiny Rust library inspired by Pokémon, that lets you get Pokémon names.
This project is not yet complete and is highly unstable and half-written. Do not use it in production, although it'd be weird if your production needed Pokémon names, but, uh, yeah.
cargo install pokemon
Currently, Pokémon are limited to the following properties:
Property | Type |
---|---|
species | i32 |
language | i32 |
name | String |
genus | Option<String> |
Languages correspond to these ids:
id | language |
---|---|
1 | Japanese (literal) |
2 | Japanese (transliterated) |
3 | Korean |
4 | Chinese |
5 | French |
6 | German |
7 | Spanish |
8 | Italian |
9 | English |
Returns a vector of Pokemon
.
Returns a Pokémon based on the specified id and language.
Returns a random Pokémon.
Returns a random Pokémon, with a specified language.
Returns the name of a Pokémon based on its id. (In English).
Returns the name of a Pokémon, given id and language.