Day

The Day objects are a subclass of Menu and contain most of the metadata related to the Eatery menu.

Parameters

The following parameters can be extracted from the Day object:

Menu_items (list): A list of the menu items for the particular day.

Day_name (string): The day name in English

Day_name_sv (string): The day name in Swedish

Day_start (datetime.datetime): A datetime object representing the start of the day (00:00:01, in Swedish timezone)

Day_end (datetime.datetime): A datetime object representing the end of the day (23:59:59, in Swedish timezone)

Service_start (datetime.datetime): A datetime object representing the start of the Eatery lunch service. Before using this in a production application, I recommend that you double-check that this value is correct so that Eatery hasn't changed their opening hours.

Service_end (datetime.datetime): A datetime object representing the end of the Eatery lunch service. Before using this in a production application, I recommend that you double-check that this value is correct so that Eatery hasn't changed their opening hours.

Desserts_served (boolean): True if the library has detected that dessert is served free for all guests the current day.

Pancakes_served (boolean): True if the library has detected that pancakes are served free for all guests as an addition to the other dishes the current day.

Burgers_served (boolean): True if the library has detected that burgers are served. Note: This might not apply to customers eating in the Eatery Campus area.

Last updated

Was this helpful?