Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mvrilo/cepd

cepd is a small and fast caching proxy-server for CEP records (brazilian postalcodes)
https://github.com/mvrilo/cepd

address api axum brazilian cache cep cepd correios json postalcode proxy rust server sled tokio zipcode

Last synced: 22 days ago
JSON representation

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

Awesome Lists containing this project

README

        

# 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"
}
```