PokeAPI / pokeapi

The Pokémon API
https://pokeapi.co
BSD 3-Clause "New" or "Revised" License
4.05k stars 921 forks source link

Expose Move_Effect in API #1071

Open GreatNovaDragon opened 2 months ago

GreatNovaDragon commented 2 months ago

It would be kinda interessting for data research (at least for me), to expose the Move_Effect table in API.

I have an issue in my code, where apparently the short_effect of multiple Move_Effects is the same, compared to their long_effect, (ignoring that all of them in the change for #1031 now have the move effect chance in there), so i cant just group by the effect prose when looping over the list of moves to get.

Knowing that there are 1k moves, but only ~400 move effects, makes me wanna know what the most used move_effects are overall. (Count how many pokemon knows a move, then group by move_effect, and do some filtering on the moves if needed).

Naramsim commented 2 months ago

Would you be able to create an endpoint and try exposing it by yourself? We don't have time or we need a volunteer :)

GreatNovaDragon commented 2 months ago

I am kinda aware that there arent many contributers, in comparision to users, so I am opening Feature Requests to gather feedback before i do anything.