Simple API in Django.
Use the management command python manage.py importpostcode <filename.csv> to import new postcodes to the database.
You will find new csv files here: https://www.cadastre.ch/de/services/service/plz.html
- api/postcodes
- api/postcode?postcode=7000