The purpose of this API is to weekly parse&cache the AUTH's menu from this webpage and have endpoints available to the public so users can create Google Assistant and Siri shortcuts or Bots for apps like Discord.
Endpoint | Method | Description | Params Available |
---|---|---|---|
/api/menu |
GET |
Get menu for the whole week | |
/api/menu/today |
GET |
Get menu for today | description 1 |
/api/menu/weekday/:day |
GET |
Get menu for specific weekday day is an int , 1->Monday ... 7->Sunday |
description 1 |
/api/menu/fetch |
GET |
Try to fetch menu from webpage |
Take a look at the example to see the structure of the response
An instance of this API is hosted at lesxi.johnstef.com
Siri shortcut: download (You need to enable untrusted shortcuts from settings)
Footnotes
-
If
description
istrue
the api will return just one string for lunch and one for dinner
↩ ↩2{ "date": "2022-02-18T00:00:00Z", "dinner": "- Ριζότο μανιταριών\n- Αγγουροντομάτα\n Κουνουπίδι ατμού\n- Θρ..", "lunch": "- Κολοκύθια τηγανητά με τζατζίκι\n- Αγγουροντομάτα\n Κουνουπίδι.." }