https://github.com/googleworkspace/python-calendar-insights-demo
https://github.com/googleworkspace/python-calendar-insights-demo
Last synced: 11 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/googleworkspace/python-calendar-insights-demo
- Owner: googleworkspace
- License: apache-2.0
- Created: 2023-07-20T18:48:42.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-07-28T22:46:13.000Z (almost 3 years ago)
- Last Synced: 2025-05-29T18:57:40.265Z (12 months ago)
- Language: Python
- Size: 34.2 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: contributing.md
- License: LICENSE
Awesome Lists containing this project
README
# Calendar Insights Demo
This is a small python demo that calculates insights using the
Google Calendar API.
Note: This is not an official Google product.
## Usage
Requires an access token authorized with any of the following scopes:
https://www.googleapis.com/auth/calendar.events.readonly
https://www.googleapis.com/auth/calendar.events
https://www.googleapis.com/auth/calendar.readonly
https://www.googleapis.com/auth/calendar
Use the the [OAuth Playground](https://developers.google.com/oauthplayground)
or [gcloud CLI](https://cloud.google.com/sdk/gcloud/reference/auth/application-default)
to obtain an access token.
Usage:
python main.py
Adjust the working hours and timezone in main.py as needed.