"GoogleCalendar" (Service Connection)
Connecting & Authenticating
ServiceConnect["GoogleCalendar"] creates a connection to the Google Calendar API. If a previously saved connection can be found, it will be used; otherwise, a new authentication request will be launched.
Requests
ServiceExecute["GoogleCalendar","request",params] sends a request to the Google Calendar API, using parameters params. The following gives possible requests.
List Calendars
"CalendarList" — a List of calendars of authenticated user
"CalendarDataset" — a Dataset of calendars of authenticated user
MaxItems | 100 | number of elements to return | |
"ShowHidden" | False | whether to show hidden entries | |
"ShowDeleted" | False | whether to include deleted calendar list entries in the result | |
"Query" | None |
Detailed Calendar Information
"CalendarInformation" — detailed information about a specific calendar
"CalendarID" | "primary" | calendar ID (default is user's primary calendar) |
List Events
"EventList" — a List of events in a given calendar
"EventDataset" — a Dataset of events in a given calendar
"CalendarID" | "primary" | calendar ID (default is user's primary calendar) | |
"MaxAttendees" | None | maximum number of attendees to return | |
MaxItems | 250 | number of elements to return | |
"StartIndex" | 1 | index number of first result to return | |
"ShowHiddenInvitations" | False | whether to include hidden invitations | |
"ShowDeleted" | False | whether to include deleted events | |
"SortBy" | None | sort order for results: "StartTime" (only when "SingleEvents" is set to True) or "Updated" | |
"Query" | None | query string | |
"ExpandRecurringEvents" | False | whether to return only event instances, but not recurring events themselves | |
"Date" | None | date or date range to filter events by | |
"UpdatedMin" | None | lower bound for the last modification time of events |
Detailed Event Information
"EventInformation" — detailed information about a specific event
"CalendarID" | "primary" | calendar ID (default is user's primary calendar) | |
"EventID" | (required) | event ID | |
"MaxAttendees" | None | maximum number of attendees to return |
Examples
Basic Examples (1)Summary of the most common use cases
Create a new connection by launching an authentication dialog:
In[1]:=1

✖
https://wolfram.com/xid/0nk9vkp1keg7tdp3c6nvr5gcxwsyq-725w37
Out[1]=1

In[2]:=2

✖
https://wolfram.com/xid/0nk9vkp1keg7tdp3c6nvr5gcxwsyq-prmchq
In[3]:=3

✖
https://wolfram.com/xid/0nk9vkp1keg7tdp3c6nvr5gcxwsyq-ksv14a
Out[3]=3

Get detailed information about a calendar:
In[4]:=4

✖
https://wolfram.com/xid/0nk9vkp1keg7tdp3c6nvr5gcxwsyq-4qmpmy
Out[4]=4

In[5]:=5

✖
https://wolfram.com/xid/0nk9vkp1keg7tdp3c6nvr5gcxwsyq-ny59v7
Out[5]=5

In[6]:=6

✖
https://wolfram.com/xid/0nk9vkp1keg7tdp3c6nvr5gcxwsyq-qlu6ry
In[7]:=7

✖
https://wolfram.com/xid/0nk9vkp1keg7tdp3c6nvr5gcxwsyq-ptfiye
Out[7]=7

Search events using a query term:
In[8]:=8

✖
https://wolfram.com/xid/0nk9vkp1keg7tdp3c6nvr5gcxwsyq-c92uq5
Out[8]=8

In[9]:=9

✖
https://wolfram.com/xid/0nk9vkp1keg7tdp3c6nvr5gcxwsyq-ii2lhl
Out[9]=9

Get detailed information about an event:
In[10]:=10

✖
https://wolfram.com/xid/0nk9vkp1keg7tdp3c6nvr5gcxwsyq-holyx3
Out[10]=10
