Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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)
- Host: GitHub
- URL: https://github.com/mvrilo/cepd
- Owner: mvrilo
- License: mit
- Created: 2021-02-05T09:19:54.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2023-08-22T14:34:46.000Z (about 1 year ago)
- Last Synced: 2024-10-02T09:21:37.148Z (about 1 month ago)
- Topics: address, api, axum, brazilian, cache, cep, cepd, correios, json, postalcode, proxy, rust, server, sled, tokio, zipcode
- Language: Rust
- Homepage:
- Size: 23.4 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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"
}
```