Open dmopsick opened 4 years ago
https://github.com/veekun/pokedex/issues/284
This thread shows that PokeAPI may not be a solid choice for me here because it does not contain the most up to date information. It is capped at Gen 7 and does not have Gen 8 info. This not only excludes the data for Gen 8 Pokemon but also means that the information is not up to date for all existing Pokemon that had any (even if minor) change in Sword and Shield.
Luckily for me - no one will be seriously using what I build so it is okay if it is not up to date... this is for fun and learning.
Need to handle when the Pokemon is not found - the api returns a 404
HTTP response
Use https://pokeapi.co/docs/v2.html to handle the querying of Pokemon. Could then use this to display the common information I use rather than just linking to Serebii.
Use the existing wrapper. Do not need to reinvent the wheel. https://github.com/PokeAPI/pokeapi-js-wrapper#install