🌻 Achoo – Pollen Forecast API for Germany
Where is the data coming from?
The API is using data provided by the Deutscher Wetterdienst (DWD). The raw data can be found here. Basically all I'm doing is slightly changing the format and providing endpoints to query only parts of the data.
Running the server
Build the project by either running
make dist (builds for linux/amd64 by default) or by running
go build -o dist/pollen-api.
Start the server by executing the binary
This will start an HTTP server listening on port 8000. The server itself does not support HTTPS, so you should use a reverse proxy for that.
The server stores all its data in redis. You can configure the connection parameters through environment variables.
||The address including the port of the redis server.||
||If set, all redis keys will be prefixed with this.||
||Password to use when connecting to the redis erver.||
Running the tests