API Docs: http://www.impf-api.xyz/docs
A simple api to serve data from https://impfdashboard.de/ built with FastAPI.
First run the dldata.py file to download the data and setup cron job to check data periodically.
46 * * * * python3 /home/ubuntu/impf-api/dldata.py >/dev/null 2>&1
Run the application. Also better use the start.sh script.
uvicorn app.main:app
Really simple api with 3 endpoints.
For States, send a query with 2 digit state_code.
| State Code | Name |
|---|---|
| BW | Baden-Württemberg |
| BY | Bayern |
| BE | Berlin |
| BB | Brandenburg |
| HB | Bremen |
| HH | Hamburg |
| HE | Hessen |
| MV | Mecklenburg-Vorpommern |
| NI | Niedersachsen |
| NW | Nordrhein-Westfalen |
| RP | Rheinland-Pfalz |
| SL | Saarland |
| SN | Sachsen |
| ST | Sachsen-Anhalt |
| SH | Schleswig-Holstein |
| TH | Thüringen |
For testing and more information http://www.impf-api.xyz/docs