Google calendar aggregation tool.
Synchronize events from multiple calendars into one.
One-way synchronization only! don't expect edits of target calendar to be synchronized back - in fact they will get overwritten during next sync.
./.polycal/polycal
sources:
- id: [email protected]
transforms:
- type: SkipByTitle
kwargs:
titles:
- "Not important"
- id: [email protected]
transforms:
- type: ReplaceTitle
kwargs:
repl: "work"
- type: Merge
kwargs:
elipsis: "15m"
- id: [email protected]
transforms:
- type: ReplaceTitle
kwargs:
pattern: "^(.*)$"
repl: 'Other|\1'
- type: SetAttr
kwargs:
busy: !!bool false
target:
id: [email protected]
https://console.cloud.google.com/apis/dashboard?pli=1
-
New project
-
Enable APIs and services
Google Calendar API
- Create credentials
Which API are you using? Google Calendar API
What data will you be accessing? User data
Scopes:
find the required scopes in src/polycal/services/gcal.py
- OAuth Client ID
App type: Desktop app
Download client secret json to ./polycal/client_secret.json