The Simple API v1 provides one endpoint and operates with
GET parameters.
| GET Parameter | Description |
|---|---|
date=all |
Shows all future meals. |
date=DATE |
Shows meals for the given date, e.g.,
date=2023-12-08. |
date=n |
Shows meals from n (0-999) days in the future,
e.g. 0 for today and 1 for tomorrow. |
date=-n |
Shows meals from n (0-999) days ago,
e.g. -1 for yesterday. |
format=FORMAT |
Returns the meals in the given format, e.g.,
format=json. |
Use format=json as it is a structured and reliable
format. Furthermore, the JSON result contains additional
details
Feel free to use the default text format for inspection. Do not attempt to parse it as it is not a stable format, e.g., it does not escape its delimiter characters
Visit /api/v1/food_labels to learn about all public values.
Today’s and future meals: https://www.mensa-kl.de/api.php?format=json&date=all
Today’s meals: https://www.mensa-kl.de/api.php?format=json&date=0
Meals of 2023-07-28: https://www.mensa-kl.de/api.php?format=json&date=2023-07-28
The default text format will be removed as it is not stable for parsing
Experimental tags are added
Features that have not been used for months were removed on 30.07.2023
All undocumented API endpoints will be removed