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

Add endpoint that returns all states #4

Open
osioke opened this issue Nov 4, 2016 · 0 comments
Open

Add endpoint that returns all states #4

osioke opened this issue Nov 4, 2016 · 0 comments
Assignees

Comments

@osioke
Copy link
Contributor

osioke commented Nov 4, 2016

URL: api/v2/states
Parameter: none
response: (200)

 [
           {
               id: 1, 
               code: "AB", 
               name: "Abia", 
               capital: "Umuahia",
               lat: 5.4308921,
               lng: 7.5247243,
               zone_id: 4
           }, 
           {....}
 ]

For more details, check https://github.com/devcenter-square/states-and-cities/wiki/List-of-Endpoints

@osioke osioke changed the title Add endpoint to return all states Add endpoint that returns all states Nov 5, 2016
@theterminalguy theterminalguy self-assigned this Jan 14, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants