Open justingolden21 opened 7 months ago
Or at least some docs on this in a more obvious location (if not already).
Love the API by the way!
Form differences have different dex entries
This is a thing since Sun and Moon (even if the specific dex entry for girantinas forme change has been only introduced in Legends Arceus), and given that the data model here, copied from veekun/pokedex, was created before Sun and Moon, where alternate forms really were more unusual and not outright different species with the same name and natdex number, this is an outdated model.
Not sure if bug report or feature request, but I suppose it's a feature request
I spent a long, long, long time trying to debug this. Apparently:
https://pokeapi.co/api/v2/pokemon-species/
hasgiratina-altered
as a 404 butgiratina
returns datahttps://pokeapi.co/api/v2/pokemon/
hasgiratina
as 404 butgiratina-altered
returns dataI'd love for this to be consistent. Obviously form differences don't have different dex entries, but can have different stats for example. I also realize of course we wouldn't be making existing APIs now return a 404. However, my suggestion is simply for
giratina
to redirect togiratina-altered
for thepokemon-species
API and to havegiratina-altered
redirect togiratina
for thepokemon
API.Thank you in advance!