By Dr. Louay Chebib
"Google Calendar is a time-management and scheduling calendar service developed by Google."
Widely used and is available for web, Android and iOS.
Strongly integrated into the Google Environment.
Supports reminders, shared events, & shared calendars.
Google Calendar (calendar.google.com)
pip install google-api-python-client
pip install --upgrade google-api-python-client google-auth-httplib2 google-auth-oauthlib
Setup
Demo: quickstart.py (Google Demo)
API Objects
Review Calendar Application Concepts: calendars, events, attendees...
Decoding & Dates
Coordinated Universal Time (UTC) is everything!
List Calendars
Calendar has multiple Calendars!
Call the API with default: calendarId='primary'
Use the calendarId= from calendar properties in the APP
Event(s):
get next 10 events
set a start datetime using: timeMin=
list of events
look at fields in the event object
Watch for: events that end outside/span your time range...
insert event