Qore GoogleDataProvider Module Reference 1.0
|
Qore GoogleDataProvider module definition
The GoogleDataProvider module provides a data provider API for Google cloud REST API services.
This data provider provides Google API access to:
calendar/calendars/<calendar_id>/events/delete
calendar/calendars/<calendar_id>/events/get
calendar/calendars/<calendar_id>/events/insert
calendar/calendars/<calendar_id>/events/instances
calendar/calendars/<calendar_id>/events/list
calendar/calendars/<calendar_id>/events/patch
calendar/calendars/<calendar_id>/events/quickAdd
calendar/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 data provider factory is google
.
These examples are with qdp
, the command-line interface to the Data Provider API.
qdp google-conn/calendar/calendarList/list dor
qdp google-conn/calendar/calendars/primary/get dor
qdp google-conn/calendar/calendars/calendar_name/patch dor description="new description"
qdp google-conn/calendar/calendars/primary/events/get dor id=event_id
qdp google-conn/calendar/calendars/primary/events/quickAdd dor text="Lunch at Burger Bar from 12:30-13:30 today"
qdp google-conn/calendar/calendars/primary/events/update dor id=event_id,summary="Lunch Today"
qdp google-conn/calendar/calendars/primary/events/delete dor id=event_id