PokeAPI / pokedex

PokeAPI's fork for adding gen-8 data.
https://github.com/PokeAPI/pokedex/tree/master-pokeapi/pokeapi
MIT License
44 stars 39 forks source link

Wormadam (#413) Forms are wrong #44

Open kryptodrex opened 3 years ago

kryptodrex commented 3 years ago

For Wormadam, its forms are currently only showing "wormadam-plant" in the "forms" array on /pokemon/413.

"forms": [
        {
            "name": "wormadam-plant",
            "url": "https://pokeapi.co/api/v2/pokemon-form/413/"
        }
    ],

All of its forms for some reason are within Mothim's object:

"forms": [
        {
            "name": "mothim-plant",
            "url": "https://pokeapi.co/api/v2/pokemon-form/414/"
        },
        {
            "name": "mothim-sandy",
            "url": "https://pokeapi.co/api/v2/pokemon-form/10269/"
        },
        {
            "name": "mothim-trash",
            "url": "https://pokeapi.co/api/v2/pokemon-form/10270/"
        }
    ],
kryptodrex commented 3 years ago

Looking more into it, this is still an issue I think (since as far as I know, Mothim doesn't have the plant/sandy/trash forms). However, I found the different forms for Wormadam under Pokemon Species' "varieties" object.

Just curious if there is a reason why for Burmy the different forms are under Pokemon "forms", but for Wormadam they are under Species "varieties" instead (for the same plant/sandy/trash)?

Naramsim commented 3 years ago

Check out this conversation @kryptodrex https://github.com/PokeAPI/pokeapi/issues/593

Maybe you'll find you answer there