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 CEP valition #10

Closed
7 tasks done
LucasAndrad opened this issue Dec 31, 2018 · 0 comments
Closed
7 tasks done

Add CEP valition #10

LucasAndrad opened this issue Dec 31, 2018 · 0 comments
Assignees

Comments

@LucasAndrad
Copy link
Owner

LucasAndrad commented Dec 31, 2018

Add CEP validation
Maybe I could use this API to check if the CEP exists:
https://viacep.com.br/

Actually a good idea is to use 3 or more API to search for a CEP, this one sounds good two
https://postmon.com.br/

This one is good, doesn't need any token
http://apps.widenet.com.br/busca-cep/api/cep/72110040.json

This one is really fast but I need to inform my token to use the API
http://cepaberto.com

I can also crawler this Correio web page
http://www.buscacep.correios.com.br/sistemas/buscacep/

font:
This post on br stackoverflow has a lot of links:
https://pt.stackoverflow.com/questions/400/como-buscar-um-endere%C3%A7o-por-cep-nos-correios

  • Connect to API - postmon
  • Connect to API - widenet
  • Connect to API - via_cep
  • Treat Errors
  • Validation
  • Call
  • Test (Rspec)
@LucasAndrad LucasAndrad self-assigned this Jan 21, 2019
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

1 participant