Qore GoogleCalendarDataProvider Module Reference 2.0
|
Qore GoogleCalendarDataProvider module definition
The GoogleCalendarDataProvider module provides a data provider API for Google cloud REST API services.
This data provider provides Google API access to the complete Google calendar API as defined by Google's Discovery API; some example data providers are listed below:
calendarList/delete
calendarList/get
calendarList/insert
calendarList/list
calendarList/patch
calendarList/update
delete
get
insert
list
patch
update
calendars/<calendar_id>/clear
calendars/<calendar_id>/delete
calendars/<calendar_id>/get
calendars/<calendar_id>/patch
calendars/<calendar_id>/update
calendars/<calendar_id>/acl/delete
calendars/<calendar_id>/acl/get
calendars/<calendar_id>/acl/insert
calendars/<calendar_id>/acl/list
calendars/<calendar_id>/acl/patch
calendars/<calendar_id>/acl/update
calendars/<calendar_id>/events/delete
calendars/<calendar_id>/events/get
calendars/<calendar_id>/events/import
calendars/<calendar_id>/events/insert
calendars/<calendar_id>/events/instances
calendars/<calendar_id>/events/list
calendars/<calendar_id>/events/move
calendars/<calendar_id>/events/patch
calendars/<calendar_id>/events/quickAdd
calendars/<calendar_id>/events/update
To use this data provider, you will need a connection that has already executed the OAuth2 authorization code flow and acquired a token to communicate with the Google API.
The name of the Google calendar data provider factory is gcal
.
These examples are with qdp
, the command-line interface to the Data Provider API.
qdp gcal-conn/calendarList/list dor
qdp gcal-conn/calendars/primary/get dor
qdp gcal-conn/calendars/calendar_name/patch dor description="new description"
qdp gcal-conn/calendars/primary/events/get dor id=event_id
qdp gcal-conn/calendars/primary/events/quickAdd dor text="Lunch at Burger Bar from 12:30-13:30 today"
qdp gcal-conn/calendars/primary/events/update dor id=event_id,summary="Lunch Today"
qdp gcal-conn/calendars/primary/events/delete dor id=event_id