GetGeocode.Apis.ViaCep (GetGeocode v0.0.3) View Source

ViaCEP API.

From https://viacep.com.br/.

Link to this section Summary

Functions

Get data from CEP (brazilian) consuming Via CEP API.

Link to this section Functions

Get data from CEP (brazilian) consuming Via CEP API.

Examples

  iex> GetGeocode.Apis.ViaCep.get_cep "69035350"
  %{
    "bairro" => "Compensa",
    "cep" => "69035-350",
    "complemento" => "",
    "ddd" => "92",
    "gia" => "",
    "ibge" => "1302603",
    "localidade" => "Manaus",
    "logradouro" => "Avenida Coronel Cyrillo Neves",
    "siafi" => "0255",
    "uf" => "AM"
  }