Clinder is a command line interface for google calendar, which uses the google calendar api. Clinder can be an alternative to the google calendar website which is more interactive and visual which might make it slower. Clinder can also be convenient to those who work on the command line often and find it troublesome switching between windows.
- Create a Google Cloud project
- Enable Google Calendar API
- Configure OAuth
- https://console.cloud.google.com/apis/credentials/consent
- type: External
- OAuth consent screen, just type name and email
- Scopes
- Click rows per page, display 100
- Select All
- Test Users, add your email
- Create Credentials
- Credentials -> Create Credentials -> OAuth Client ID
- Application Type: Desktop App
- Download JSON
- rename to credentials.json
- copy paste to this folder
- Install required modules in powershell/cmd
- pip install tzdata
- pip install --upgrade google-api-python-client google-auth-httplib2 google-auth-oauthlib
- Input Calendar ID
- Settings -> Integrate Calendar -> Calendar ID
There are four basic operations in this program, which is to create events, read (display) events, update events and delete events.
Events can be created, with fields
✅ summary (aka title), location, description, time
❌ recurrence, attendees, reminders
There are a few different filters and method of displaying events:
The summary, description and location of an event can be updated, one at a time
If id has been input before, it will be stored in token.json where it can be reused