Coder Social home page Coder Social logo

brval's Issues

Add Cnpj generator

Create a function to generate Cnpj

Add it to cnpj_call

  • Generator
  • Call
  • Test (Rspec)

Add RG validation

Add RG validation

It's looks like RG can be very different from state to state, so I need to understand more about it

  • Validation
  • Call
  • Test (Rspec)

Update README

update README with instructions of how to use the gem, how to install and how to contribute

Add CEP valition

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.