- First of all you should generate
client_secret.json
for it readStep 1: Turn on the Google Calendar API
HERE. - Pay attention on the
resources/config.json
. Parameterspath_to_creds
,personal_email
,calendarId
should 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 bedo
orzo
-
"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.default
parameter.- 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 beWEEKLY
orDAILY
-
"recurrence.count"
: count of week -
"timezone"
- by default used
UTC+4
timezone ("Europe/Samara"
)
- by default used
-
"calendarId"
: calendar for using.- by default used
"primary"
which isyour_email@gmail.com
calendar - instruction how get
calendarId
here
- 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
-
-