Skip to content

A Dart package to interact with the University of Porto's canteens menus API

License

Notifications You must be signed in to change notification settings

NIAEFEUP/up_menus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

c714e99 · Nov 9, 2024

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A Dart package to interact with the University of Porto's canteens menus API. This package is a wrapper around the UPMenus API.

Features

  • Get the list of establishments
  • Get the menu for a specific day, week, period and establishment
  • Get permanent menus of an establishment

Usage

final up_menus = UPMenusApi();

final establishments =  await up_menus.establishments.list(); 

final dayMenus = await up_menus.dayMenus.get(feup_canteen.id, Period.lunch);
final dayMenus = await up_menus.dayMenus.get(feup_canteen.id, Period.lunch, weekNumber: 29, year: 2024);

About

A Dart package to interact with the University of Porto's canteens menus API

Resources

License

Stars

Watchers

Forks

Languages