Google Calendar
The Qlik Google Calendar connector uses Google's Calendar API to fetch your schedule data, such as calendars, events, and event attendees.
Ways to access your data
To access your Google Calendar data, you need to authenticate the connector with your Google Calendar account credentials. After you create a connection and select Google Calendar as your data source, you are redirected to a Google Calendar login page. Log into Google Calendar with your account credentials to receive an authentication code which you enter into the connector.
Creating a data source connection
Loading data from tables
After you authenticate the connector with your account credentials, you can use the following tables to select and load data:
Table | Description |
---|---|
CalendarList | Use this table to fetch a list of all your calendars. This table will return the calendar ID along with other important information about your calendars. |
Events | Use this table to fetch a list of events contained in your calendars. This table requires a calendar ID. |
EventAttendees | Use this table to fetch a list of attendees for an event. This table requires a calendar ID and an event ID. |
To select and load data from a table, enter the required table parameters and click Preview data. Required parameters are marked with an asterisk (*). The table fields are displayed under the Data preview tab. You can select fields individually by selecting the box beside each field name. Select Insert script after you have made your selection.
Creating a connection and selecting data
Working with the Calendar API quota limits
The Qlik Web Connectors use the Calendar API to extract data from Google Calendar and load it into your Qlik Sense app. While reloading you Google Calendar-based app, you might receive an error message that the connector has reached the Calendar API rate limit and that all subsequent API calls will fail until the connector falls back under the throttling limit. If you receive this error message, then you have exceeded one of the API rate limits.
You receive an error message that you have reached the API rate limit
Reference - Google Calendar developer documentation
You can refer to the Google Calendar API documentation to learn more about the requirements and restrictions imposed by the Calendar API.
Troubleshooting
The authentication window does not open
Possible cause
Your internet browser might be blocking pop-up windows from appearing.
Proposed action
Make sure that pop-ups are not blocked on your browser.
You receive an error message that you have reached the API rate limit
Possible cause
You have exceeded the API limits that are imposed on the Qlik Web Connectors by the Calendar API.
Proposed action
To reduce the impact of reaching the API rate limits, develop your app with the following in mind:
- Extract only the data you need.
- Reload one Google Calendar-based application at a time.
- Ensure that loops in your script that make API calls will not result in infinite loops.