It's an API to serch for places in Germany.
You can search by
- zipcode (Postleitzahl)
- ags (Amtlicher Gemeindeschlüssel)
- osm_id (Openstreetmap ID)
[
{
"osm_id": "2186917",
"ags": "09187124",
"ort": "Edling",
"plz": "83533",
"landkreis": "Landkreis Rosenheim",
"bundesland": "Bayern"
}
]
You need to build this docker image before:
https://github.com/vgarcia007/webapp-baseimage
Then run docker compose in this repo.
You might edit the compose file...
docker-compose up -d
At last step run the setup
https://localhost:5013/setup
Thats it
For available routes see index.php (Yes i am very lazy).
Yes, the places data is from:
https://www.suche-postleitzahl.org/
https://www.openstreetmap.org/copyright
And AltoRouter is used for routing in the script: https://github.com/dannyvankooten/AltoRouter