- First of all you should generate
client_secret.jsonfor it readStep 1: Turn on the Google Calendar APIHERE. - Pay attention on the
resources/config.json. Parameterspath_to_creds,personal_email,calendarIdshould be changed. - run
main.py- when main.py will running you are able to see:
[INFO] Event created: LINK1[INFO] Event created: LINK2...
- The schedule will be added starting next Monday.
- when main.py will running you are able to see:
- Config parameters:
-
"study_mode": can bedoorzo -
"department": your study department -
"group": your study group -
Colors parameters like
color.lesson: You can get color code below(in image). If field is empty will be usedcolor.defaultparameter.- examples:
"color.lesson": "5""color.laboratory_work": "9"
- examples:
-
Specializations: If you have extra subjects you can include them to your calendar by
"include.specializations"- examples:
"include.specializations": "1-C web-дизайн""include.specializations": "перев. 2"
- examples:
-
Calendar parameters:
-
"personal_email": your personal email which will be added to event. Can be empty. -
"recurrence": -
"recurrence.freq": can beWEEKLYorDAILY -
"recurrence.count": count of week -
"timezone"- by default used
UTC+4timezone ("Europe/Samara")
- by default used
-
"calendarId": calendar for using.- by default used
"primary"which isyour_email@gmail.comcalendar - instruction how get
calendarIdhere
- by default used
-
"reminder.useDefault": default google reminders. Can beTrue/False. -
"reminder.popup": popup behind N minutes- example:
"reminder.popup": "20"
- example:
-
"system.calendar.interval": system parameter
-
-
