Skip to content
This repository has been archived by the owner on Oct 27, 2020. It is now read-only.

Latest commit

 

History

History
executable file
·
19 lines (10 loc) · 511 Bytes

README.md

File metadata and controls

executable file
·
19 lines (10 loc) · 511 Bytes

Api for the unitn canteen menu

Why?

Opera Universitaria doesn't like keeping updated the firebase db, so this is a direct replacement to the firebase api

How?

It parses the PDFs on their website

Known bugs

Sundays aren't parsed, the third side dish isn't loaded because they randomly don't put it so it kinda ruins everything

How to use this

One simple GET at https://api-mensa-unitn.herokuapp.com

You can find the menu of the day with (day.format('YYYY-MM-DD')).toString('base64')