![]() |
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/deletecalendarList/getcalendarList/insertcalendarList/listcalendarList/patchcalendarList/updatedeletegetinsertlistpatchupdatecalendars/<calendar_id>/clearcalendars/<calendar_id>/deletecalendars/<calendar_id>/getcalendars/<calendar_id>/patchcalendars/<calendar_id>/updatecalendars/<calendar_id>/acl/deletecalendars/<calendar_id>/acl/getcalendars/<calendar_id>/acl/insertcalendars/<calendar_id>/acl/listcalendars/<calendar_id>/acl/patchcalendars/<calendar_id>/acl/updatecalendars/<calendar_id>/events/deletecalendars/<calendar_id>/events/getcalendars/<calendar_id>/events/importcalendars/<calendar_id>/events/insertcalendars/<calendar_id>/events/instancescalendars/<calendar_id>/events/listcalendars/<calendar_id>/events/movecalendars/<calendar_id>/events/patchcalendars/<calendar_id>/events/quickAddcalendars/<calendar_id>/events/updateTo 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