Skip to content

johnstef99/auth_menu_api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AUTH Weakly Menu API

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 description1
/api/menu/weekday/:day GET Get menu for specific weekday day is an int, 1->Monday ... 7->Sunday description1
/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

  1. If description is true the api will return just one string for lunch and one for dinner

    {
      "date": "2022-02-18T00:00:00Z",
      "dinner": "- Ριζότο μανιταριών\n- Αγγουροντομάτα\n  Κουνουπίδι ατμού\n- Θρ..",
      "lunch": "- Κολοκύθια τηγανητά με τζατζίκι\n- Αγγουροντομάτα\n  Κουνουπίδι.."
    }
    
    ↩ ↩2

About

AUTH Menu Api

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages