Skip to content
This repository has been archived by the owner on Aug 15, 2023. It is now read-only.

List of countries and Provinces #2

Open
fardavide opened this issue Mar 7, 2020 · 4 comments
Open

List of countries and Provinces #2

fardavide opened this issue Mar 7, 2020 · 4 comments

Comments

@fardavide
Copy link
Contributor

Please provide endpoints for get plain lists of countries and provinces

@esenac
Copy link
Collaborator

esenac commented Mar 7, 2020

We’re working on it for Italian provinces. We’ll update you ASAP.

@fardavide
Copy link
Contributor Author

Sure, didn't want to push, just wanted to highlight my interest :)

@enrichman
Copy link
Owner

Hi @4face-studi0, for an endpoint of plain lists of countries or provinces you mean something like this?

/countries.json

[ "us", "italy" ]

/us/provinces.json

[ "santa-clara-ca", "san-diego-county-ca" ]

The countries ad provinces at the moment could be extracted from the children objects.

@fardavide
Copy link
Contributor Author

@enrichman yes, exactly. It's true that they could be extracted, but it's sub-optimal, specially on mobile devices, where we need to download and parse a big amount of """trash""" data :)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants