Project

ceps

0.0
No commit activity in last 3 years
No release in over 3 years
All sorts of useful information about every brazilian cep packaged as pretty little cep objects.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies

Development

>= 3
 Project Readme

CEPs

Ceps is a collection of all sorts of useful information about every brazilian CEP packaged as pretty little cep objects.

Build Status Code Climate Test Coverage

Installation

gem install ceps

Basic Usage

Simply load a new CEP object using Cep.new(23045000) or the shortcut Cep[23045000].

c = Cep.new(23045400)
c = Cep.new[23045400]

Cep Info

Address

c.location     #=> "Peter Pan"
c.type         #=> "Rua"
c.neighborhood #=> "Campo Grande"
c.city         #=> "Rio de Janeiro"
c.state        #=> "Rio de Janeiro"

ToDo

  • Geocoding
  • Tests
  • Import scripts

Note about GPBe (Guia Postal Brasileiro EletrĂ´nico)

To generate ceps.yaml data file it is necessary get a valid version of a GPBe. GPBe is property of Correios do Brasil SA.