Skip to content

A python script that presents the menus at all of the University of Aveiro's canteens.

Notifications You must be signed in to change notification settings

GLUA-UA/meals-ua

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Meals@UA

A python script that presents the menus at all of the University of Aveiro's canteens.

example

Migrated from this repository and this repository.

Requirements:

  • Python 3
  • Additional pip libraries installed automatically by install.sh or by running:
pip3 install --user -r requirements.txt

By default, the script presents the menus of the current day at the 3 canteens located on the main campus.

You can, however, use additional arguments such as -w or -l to show menus for the whole week, or in a different location.

Usage:

To setup everything, just run:

wget https://raw.githubusercontent.com/GLUA-UA/meals-ua/master/install.sh -O - | sh

Which installs the necessary dependencies and places a symlink in $HOME/.local/bin

Now you can use the script by running:

ementas
Optional arguments:
Argument Function
-h, --help Show help message
-w Present menus for the current week
-t Present the initial tutorial
-l number Specify canteens to present:
1 - Campus (Santiago, Crasto, Snack, and AFUAv)
2 - ESTGA
3 - University Restaurant
4 - ESAN
Examples:

loc help

Thanks:

  • Luís Silva
  • University of Aveiro's public API. More information about the specific menu API here.

Contributing:

GLUA welcomes pull requests from the community. This section will soon be expanded

About

A python script that presents the menus at all of the University of Aveiro's canteens.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published