This is a script to sync your Magister Schedule to Google Calendar.
- Create a Google Calender API key at https://console.cloud.google.com/
- Download the created credentials json file and save it as
credentials.json
in the directory of the script. - Add your email address here under test users
- Put the base url (school.magister.net) of your school at line 18
- Put you username at line 19 and your password at line 20
- Run the script
python magister2google.py
. A browser window will open. Log in with your google account.
The script will sync the Magister schedule of the next 30 days to Google.
-c
Specify a Google Calendar to sync to. (e.g. abc123abc123@group.calendar.google.com) default is primary calendar
-d
Specify amount of days to sync. Default is 30.
-r
Repeat every X time (time in seconds)
If you have any feature requests don't hesitate to open an issue :)