Closed notnot-nick closed 4 years ago
Hi @S0LDR
I think you misunderstood the endpoint. In /characteristic/{id}
the id
is not the id
of a Pokemon. These id
s range from 1 to 30: https://pokeapi.co/api/v2/characteristic/?offset=0&limit=50
The same characteristic can be owned by multiple pokemon. To devise the characteristic of a pokemon you should apply a formula and then with the data of all ~30 characteristics correctly place a pokemon. The formula is described here: https://bulbapedia.bulbagarden.net/wiki/Characteristic
Bumb @S0LDR
im using pokedex-promise-v2 and when i call poke.getCharacteristicById(id), eevee's id returns a 404 while pokemon like squirtle, and pikachu work fine