PHP Classes

CEP Livre: Get the address in Brazil of a given CEP zip code

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 235 All time: 8,098 This week: 524Up
Version License PHP version Categories
cep-livre 1.0GNU General Publi...4.0Web services, Geography
Description 

Author

This package is specific mainly for applications used in Brazil Brazil .

This class can get the address in Brazil of a given CEP zip code.

It can send an HTTP request to the CEP Livre API Web server get the address in Brazil of a given CEP zip code.

It returns the street address, region, city, state, latitude, longitude, area code (DDD) and IBGE's city code.

The class can also send an API request to get the CEP zip code of a given address.

It parses the JSON response and returns the decoded values.

An account in the CEP Livre site is necessary to obtain an API to access the service.

Picture of Rogerio Acquadro
Name: Rogerio Acquadro <contact>
Classes: 2 packages by
Country: Brazil Brazil
Age: ???
All time rank: 3651288 in Brazil Brazil
Week rank: 197 Up16 in Brazil Brazil Up

  Files folder image Files (1)  
File Role Description
Plain text file ceplivre.php Class class and example

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:235
This week:0
All time:8,098
This week:524Up