Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

query cities of a specific state using iso of country #137

Open
MartinsOnuoha opened this issue Apr 8, 2023 · 1 comment
Open

query cities of a specific state using iso of country #137

MartinsOnuoha opened this issue Apr 8, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@MartinsOnuoha
Copy link
Owner

MartinsOnuoha commented Apr 8, 2023

currently the query for cities requires country and state payload. We need to have iso2 and state or iso3 and state`. or both.

Current payload:

{
  "country": "Nigeria",
  "state": "Lagos"
}

Required payload:

{
  "iso2": "NG",
  "state" "Lagos"
}

or

{
  "iso3": "NGN",
  "state": "Lagos"
}
@MartinsOnuoha MartinsOnuoha added the enhancement New feature or request label Apr 8, 2023
@vip20
Copy link

vip20 commented Dec 8, 2024

@MartinsOnuoha can we add state_code too? Like below

{
 "iso2":"NG",
  "state_code": "NG-LA"
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants