Skip to content
This repository has been archived by the owner on Nov 25, 2018. It is now read-only.

lkellar/mySchoolDiningLegacy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MySchoolDining Menu Fetcher

Downloads menu from MySchoolDining and prints it

Prerequisites

  • Requests
  • Beautiful Soup 4

Both can be install via pip

pip install -r requirements.txt

Download

The latest release can be installed here

Usage

Run menu.py

It'll ask you for your mySchoolDining code

Example: For myschooldining.com/thenewschool, your url code is thenewschool

Once you enter that, it'll check if your school has multiple menus.

If you do, it'll ask you to pick one.

It'll then print out the menu.

Following that, it'll ask if you want to save data. If you agree, it'll save your school code and menu choice in a file called preferences.json

To delete your choices, delete preferences.json

Enjoy!

Arguments!

-t for tomorrow

-w week view

-f number, see this many days into the future

Stuff to do

  • Allow in program deletion of preferences
  • Add support for headers like Lunch or Breakfast
  • Testing various menus

About

Downloads menu from MySchoolDining and prints it

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages