Skip to main content

API para consulta de endereços e CEPs através do site da Empresa Brasileira de Correios e Telégrafos

Project description

Wltr EBCT Finder

PyPI

Build Status

Wltr EBCT Finder é uma API para consulta de endereços e CEP através do site da Empresa Brasileira de Correios e Telégrafos.

Autor

👤 Walter Avelino

📝 Licença

Copyright © 2020 Walter Avelino.
Os projetos estão sob a licença MIT.

Requerimentos

  • beautifulsoup4
  • requests
  • unidecode

Instalação

A API Wltr EBCT Finder pode ser instalada usando pip:

$ pip install wltr-ebct-finder

Guia rápido

Essa API permite consultar os códigos postais e o endereço através da mesma chamada:

>>> import wltr_ebct_finder

>>> address = wltr_ebct_finder.find_cep('R. Ramiro Barcelos')
>>> print(address)
{'address': 'Rua Ramiro Barcelos', 'neighborhood': 'Vila Guarani (Z Sul)', 'city/state': 'São Paulo/SP', 'zipcode': '04311-050'}
>>> import wltr_ebct_finder

>>> address = wltr_ebct_finder.find_cep('04311-050')
>>> print(address)
{'address': 'Rua Ramiro Barcelos', 'neighborhood': 'Vila Guarani (Z Sul)', 'city/state': 'São Paulo/SP', 'zipcode': '04311-050'}

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for wltr-ebct-finder, version 1.0.2
Filename, size File type Python version Upload date Hashes
Filename, size wltr_ebct_finder-1.0.2-py3-none-any.whl (3.9 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size wltr-ebct-finder-1.0.2.tar.gz (2.7 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page