Skip to content
/ cepd Public

cepd is a small and fast caching proxy-server for CEP records (brazilian postalcodes)

License

Notifications You must be signed in to change notification settings

mvrilo/cepd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cepd

cepd is a small and fast caching proxy-server for CEP records (brazilian postalcode).

Building

cargo build --release

HTTP API

GET /q/:postalcode

Example:

curl -sf http://localhost:3000/q/01311200 | jq
{
  "postalcode": "01311-200",
  "address": "Avenida Paulista",
  "complement": "de 1047 a 1865 - lado ímpar",
  "neighborhood": "Bela Vista",
  "city": "São Paulo",
  "state": "SP"
}

Releases

No releases published

Packages

No packages published

Languages