See https://shen.nz/badminton for live website.
Parses the Open Rec Schedule from MIT's Open Recreation Mazevo Calendar: https://www.mitrecsports.com/work-out/open-recreation/
Note: only badminton is supported for now but it should be easy to extend to other sports.
Python 3.6+ required. Bash script was tested on Ubuntu 18.04 and Mac OS.
- Install the requirements
pip install -r requirements.txt
- Test the script by running
python main.py
- If it all works, you can install a
crontab
to run the script periodically. See example below.
# Run every 30 minutes and output to log
*/30 * * * * cd /home/willshen/recschedule-website && python main.py >> run.log 2>&1
Contributions are very welcome!