Skip to content

A simple script to sync Magister schedule to Google Calendar

License

Notifications You must be signed in to change notification settings

Gertje823/magister2google

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Magister2Google

This is a script to sync your Magister Schedule to Google Calendar.

How to use

  1. Create a Google Calender API key at https://console.cloud.google.com/
  2. Download the created credentials json file and save it as credentials.json in the directory of the script.
  3. Add your email address here under test users
  4. Put the base url (school.magister.net) of your school at line 18
  5. Put you username at line 19 and your password at line 20
  6. 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.

Arguments

-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)

Feature requests

If you have any feature requests don't hesitate to open an issue :)

Releases

No releases published

Packages

No packages published

Languages