Brazilian cities
Related to #82, is it a good idea to create a method that returns all Brazilian cities?
We may create a script that gets all cities from IBGE API, for instance, and saves them in a JSON. This way is easier to update cities.
Good idea! We just need to test if our tree shaking works as expected because if don't, we will have an issue related with our bundle size :(
I see. I'm testing here the size of the JSON and saving only the cities name will increase 100k of the bundle size. Is this a reasonable value when importing getCities?
Also, what if we create an SDK for IBGE API inside brazilian-utils?
Yes, I think the size is not a problem when just increase this size when importing getCities, we just need to test if this happens. About IBGE API, maybe this is out of our scope :(
Hey @andreoav what you think about that?
Great! I'll submit a PR with getCities to check if the three shaking works fine.
Hello @arantespp, you need some help to that? I'm really liked your idea about getCities.
@hyanmandian Hey! I'm so sorry, the last days were very busy. Now I get some time and I'll work in the first version of getCities. I'll create a PR just for testing the bundle size, ok? If it works, I create the documentation. Thanks for reminding me about this.
Closed by #92