hungps / flutter_pokedex

Pokedex app built with Flutter (with lots of animations) using Clean Architecture
https://hungps.com
Other
2.36k stars 562 forks source link

Integration with existing Pokemon DB/APIs #17

Closed jitinder closed 4 years ago

jitinder commented 4 years ago

While the point of having our own data stores and files makes sense, wouldn't it be better to use existing and more detailed resources and APIs like the PokeAPI? They contain all data for pokemon, items, locations etc. that can be used to complete the overall app...

hungps commented 4 years ago

@jitinder I tried using the PokeAPI before, but when I'm looking at the response of the API, I see it takes a lot of API requests (like the pokemon information of each evolution) to get the data that this app needed, which will somehow slow the app down. Because the main purpose of the app is to show the performance/animation of Flutter and what Flutter can do, calling to many requests is not satisfy the case. Maybe I will implement it someday.

I've planned to create a server to be a bridge between PokeAPI and this app, fetching and converting to the right data structure so that this app can only need to make a few API requests, but I don't know when because it's a big task and I'm currently busy.

jitinder commented 4 years ago

Fair enough, I'll just close the issue if this is already something you've thought about :)

hungps commented 4 years ago

@jitinder Thanks for suggesting 😁