You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|Gabriel Augendre e0371e3a20||1 year ago|
|.gitignore||7 years ago|
|LICENSE||1 year ago|
|Procfile||7 years ago|
|README.md||1 year ago|
|app.py||7 years ago|
|requirements.txt||4 years ago|
|runtime.txt||5 years ago|
Simple Flask app to proxy my school's calendar in order to filter courses I'm not following this year.
The app is configurable with environment variable and url parameters.
|Environment variable||URL parameter||Type||Meaning|
||None||String||Original calendar url|
||Comma separated values, without space||The courses to exclude from the original calendar. Example :
||Comma separated values, without space||The course types to exclude from the original calendar. Example :
||String||The year to fetch. Example :
||String||The group to fetch. Example :
||None||String||Used to validate year specified in URL params. Example :
||None||String||Used to validate group specified in URL params. Example :
After deploying the app and setting the environment variables you want, you can either call the root :
You'll get the default calendar according to your environment.
You can also call the url with params :
The url params will override the defaults from your environment and you'll get the calendar for the 3rd year, 2nd group excluding all lectures and all PIT and SIS courses.
If you do reuse my work, please consider linking back to this repository 🙂