This is a python program that allows students to book study rooms available at Sheridan College using the terminal. This program creates the necessary requests to book study rooms wihtout having to use the website.
DISCLAMER: This is NOT an offical Sheridan program, use at own risk and within the School's Roombooking policy.
- Python 3
- pip
- make (to install required packages or can be manually done)
- 'make create' to install requirements on global python install
- 'make createvirt' to create virtual environment and install requirements
- create the 'config.yml' file and enter your credentials
To execute program run 'python -m BookRoom' in the same directory as the README.md
-h, --help show this help message and exit
--room ROOM, -r ROOM The room you want to book. Optional
--date DATE, -d DATE Pass the date of the room booking either as an absolute date 'YYYY/MM/DD' or relative date specified by python's dateparser package
--starttime STARTTIME, -t STARTTIME start time of room book. valid format is hh:mm[am,pm]
--duration {30,60,90,120}, -period {30,60,90,120}, -p {30,60,90,120} Duration to reserve the room.
--config CONFIG, -c CONFIG path to load conifiguration file. default is config.yaml
-l {DEBUG,INFO,WARNING,ERROR,CRITICAL}, --log {DEBUG,INFO,WARNING,ERROR,CRITICAL} Set the logging level
-
command to return available rooms for next week python -m BookRoom -d 'in 1 week' -t '2:00pm' -p 30
-
command to return available rooms for specific date python -m BookRoom -r 'C138A' -d '2020/01/16' -t '2:00pm' -p 30