• Resources
    • Documentation
    • Knowledge Base
    • Forum
    • Webinars and Videos
    • Courses
    • FAQ
    • Changelog
    • Blog
    • Swag Shop
  • Marketplace
  • Login
  • Resources
    • Documentation
    • Knowledge Base
    • Forum
    • Webinars and Videos
    • Courses
    • FAQ
    • Changelog
    • Blog
    • Swag Shop
  • Marketplace
  • Login
home/Knowledge Base/Cloud Services/Access to Google Calendar via API

Access to Google Calendar via API

171 views 1

Written by Christopher Bouveret
November 5, 2020

Prerequisites

In order to be able to use the Google Calender API, three requirements must be met.

1. Administrator rights are required

If you are missing administrator rights, you won’t be able to upload the test file. Administrator rights are necessary.

2. Google Cloud Project

You need a Google Cloud Project (GCP) created in the Google Developer Console.
Check Client ID and Secret in your Google oAuth Provider against this Project

3. OAuth protocol for authentication and authorization

Google APIs use the OAuth 2.0 protocol for authentication and authorization. You can find a further explanation of the setup here.

Example: ConnectorCall getEvents

Lets say you want to get all the events of a specified calendar.

All attributes marked with a red star are mandatory. All unchecked attributes are optional. In this case the values of the attributes Authorization and CalenderID are mandatory. The

The attribute values are explained as follows:

Authorization:

Bearer [Your_Google_OAuth_Token]

If you’re locked in via Google OAuth, you can find your own token at: Users -> YourName -> Attributes -> Google_OAuth_Token

CalenderID:

[Your_own_Gmail_Address]

To determine which values the other attributes need, you can simply edit the connector.

Scopes

Requests via Google Calender API require further authorization via Scopes. The required scope can be found here.

The required scope must be inserted in the settings of your simplifier account.

It is important that several scopes are only separated by a space.

Step 2 – Download Sample Connector from Marketplace

Download Sample Connector

Step 3 – Test the Connector Call

To test the Connector Call, you need your

  • Google oAuth Token
  • Script-ID
  • Function Name
  • Parameters (optional)

Was this article helpful?

1 Yes  No
Related Articles
  • Execute Google Scripts via API
  • How to integrate with SAP Business API Hub
Leave A Comment Cancel reply

You must be logged in to post a comment.

Latest Articles
  • REST: Use a CSRF Token and a Cookie to authorize Requests
  • Use the Adobe PDF Embed API in your Simplifier Application
  • Process Designer: Keeping an overview
  • Contact | Imprint | Privacy | © 2022 Simplifier AG. All Rights Reserved.

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.