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

API is not online, discontinued? #18

Closed
arturoaviles opened this issue Jun 8, 2017 · 10 comments
Closed

API is not online, discontinued? #18

arturoaviles opened this issue Jun 8, 2017 · 10 comments

Comments

@arturoaviles
Copy link

I tried to call the API but I didn't receive a response.

@kurenn
Copy link
Member

kurenn commented Jun 8, 2017

How did you made the call? are you using this http://sepomex.icalialabs.com/api/v1/zip_codes ?

@arturoaviles
Copy link
Author

Ok I wrote curl -X GET http://sepomex.icalialabs.com/api/v1/municipalities/1 and it worked but when I tried curl -X GET http://sepomex.icalialabs.com/api/v1/zip_codes/52930 it said it couldn't find it

@arturoaviles
Copy link
Author

I also tried

curl -X GET http://sepomex.icalialabs.com/api/v1/municipalities -d zip_code=67173

But the answer was

{"municipalities":[],"meta":{"pagination":{"per_page":50,"total_pages":0,"total_objects":0}}}

@kurenn
Copy link
Member

kurenn commented Jul 13, 2017

Ok, maybe the documentation is not clear enough, but can you please try this:

curl -X GET http://sepomex.icalialabs.com/api/v1/zip_codes -d zip_code=67173

It might be a good idea to make it more REST, so you don't depend on the zip_code param, please let me know how it goes!

@carl0zen
Copy link

Gettig the following response:

curl: (6) Could not resolve host: sepomex.icalialabs.com

Is the api discontinued? is the project deprecated?

@kurenn
Copy link
Member

kurenn commented Jun 29, 2020

Sorry about this, let me lift the server, and let you know! thanks for reporting this!

@kurenn
Copy link
Member

kurenn commented Jun 29, 2020

You can use this https://sepomex-api.herokuapp.com/ as the base host name while we are back to normal

@carl0zen
Copy link

carl0zen commented Jul 1, 2020

thanks @kurenn, will try that

@kurenn
Copy link
Member

kurenn commented Jul 1, 2020

@carlosepp The service is back to normal, you can use http://sepomex.icalialabs.com if you want to

@kurenn
Copy link
Member

kurenn commented Aug 3, 2020

@carlosepp were you able to try the service?

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

4 participants