pokeapi icon indicating copy to clipboard operation
pokeapi copied to clipboard

Version Group Id is missing in evolutions

Open shivangrathore opened this issue 3 years ago • 3 comments

I think there should be a version group field in pokemon_evolutions.csv cause its not possible to determine which evolution to use, and in which version it belongs to.

shivangrathore avatar Jun 28 '22 03:06 shivangrathore

I do believe the evolution_chain links a species, so you can call the species endpoint from that and get the version_group. What's the use-case that you would need a specific version on an evolution, that you wouldn't be able to get on the the linked species endpoint?

merfed avatar Jun 28 '22 04:06 merfed

image See here entry with Id: 408 is evolution from sword and shield version which I want to use. But this is a case with many evolutions. and its hard to determine which evolution belongs to which version

shivangrathore avatar Jun 28 '22 04:06 shivangrathore

This might be a good change then, especially for the 5 or 6 Leafeon evolution conditions. I think 471 is Leafeon (possibly 470). That said there are numerous linked endpoints that will give the version_group associated which each evolution (species, location ids, etc), but I don't think it needs to be as complicated.

I'm doing a rewrite of pokemon_evolutions to support forms, so that's probably something that can be added after the form changes have been made.

merfed avatar Jun 28 '22 17:06 merfed