mammuth / alexa-mensa-munich

Alexa skill for Munich's canteens :spaghetti: :fork_and_knife: :apple:
Apache License 2.0
10 stars 0 forks source link

Which API to use? #12

Closed mammuth closed 7 years ago

mammuth commented 7 years ago

I just started with using openmensa.org, but there might be some alternatives, mainly the API of the TUM Campus App (it's undocumented, check out the Android client for details: https://github.com/TCA-Team/TumCampusApp).

API related issues: #11, #1

mammuth commented 7 years ago

This is the API which is used in the TCA: http://lu32kap.typo3.lrz.de/mensaapp/exportDB.php?mensa_id=all

we can filter by mensa, but I wasn't able to filter by date yet. Of course we could regularly fetch all available menus and store them in a DB, but that'd be some more work / costs, so I'd prefer to not do it this way - at least for the MVP. Maybe we need a db in the future anyway.

We would also need to filter the description output to remove infos like [Ei,Gl,GlW,Sl]

mammuth commented 7 years ago

I'm happy with the openmensa.org api with blacklisting categories so far. Let's keep it like this.