Skip to content
master
Switch branches/tags
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

CAP Retrieve Interface CircleCI Docker Pulls

Simple REST API for italian CAP database lookup.

Semplice REST API per la ricerca all'interno del database dei CAP (codici di avviamento postale)

Data source

Current database is obtained from https://github.com/matteocontrini/comuni-json

Install

Install with docker

$ docker run -e 'SERVER_PORT=8080'-p 8080:8080 -d cloudesire/capri

webservice is now exposed on port 8080 (default port).

API

CAP Lookup

GET /cap/00195

Content-Type: application/json;charset=UTF-8

{
    "abbreviation": "RM", 
    "cities": [
        "Roma"
    ], 
    "province": "Roma", 
    "region": "Lazio"
}

Public best-effort service

An hosted instance is publicly available at https://capri.cloudesire.com, running on a Hetzner.de server.

About

🇮🇹 JSON REST API for italian postal codes (CAP) database

Topics

Resources

License

Releases

No releases published

Packages

No packages published