This API serves the current menu for the lunch restaurant at Teknologforeningen.
Use http to get the menu. The address is defined as:
http://api.tf.fi/taffa/{language}/{URI}/
Possible languages are:
URIs
Method | URI | Return type | Description |
GET | today | Text | Returns a text only version of today's lunch. Shows monday's food on weekends. |
GET | {day}/{month}/{year} | Text | Returns the menu for the specified date if menu is known. |
GET | {days} | Text | Returns the menu for today + {days}. So today=0, tomorrow=1 etc. Saturdays and Sundays are ignored. days <= 5 |
GET | html/{days} | HTML | Menu X days from now in html form. |
GET | html/week | HTML | Menu for the next five days in html. |
So, to get today's menu in English you'd use the address:
http://api.tf.fi/taffa/en/today/