The actual data for 10min intervals is provided by opendata.swiss, the Swiss open government data portal.
Rather than manually maintaining an (often outdated) API documentation here OpenData SMN relies on Swagger. It provides an automatically generated, 100% up-to-date and - best of all - executable API documentation. Each REST operation can be executed directly from the Swagger UI.
v1.1 supports GeoJSON through
Accept header content negotiation.
You can very easily host this tiny app yourself with Docker or in the cloud.
There's a Docker image at https://hub.docker.com/r/marcelstoer/open-data-smn for the following architectures:
The ARM images allow you to run this on Raspberry Pi.
Every cloud is different but here's an example. Running this on Heroku (free!) is super easy.
- On GitHub: fork this repo
- On Heroku: apen an account, create a new app (ignore the pipeline settings), connect your GitHub fork for the deployment, tell Heroku to deploy the
Please have a look at the contributing guidelines if you want to improve this project.
MIT © Marcel Stör