What is the Google Calendar API

Google Calendar

This article deals with setting up and using the Google Calendar in e-vendo.

Facility

Generation of the access data

  • Come to Google APIs & services and log in there with the Google account whose calendar is to be used.
  • You will find a menu on the left with the entries Dashboard and Library and Credentials.
  • First a project is needed. A project is only a collection or bundling of API releases and has no further relevance when working with e-vendo.
  • Click "Select a project" at the top of the window (to the left of the search box) to choose a project. Since there is probably not one available yet, a popup with the project selection opens.
  • If you haven't created one here yet, click on the + at the top right.
  • You are now in the area New Project.
  • A name can be assigned to the project in this window. Make the bottom selection Yesto agree to the Terms of Service and click Create.
  • You will then return to the project selection.
  • The project that has just been created is now available here (in the example it is simply called "e-vendo"). Select this project and click on OPEN. You will now be redirected to the Library area.
  • Switch to the Credentials area and go to the tab OAuth consent screen.
  • An email address is already entered here. Fill in the field Product name shown to users out. What exactly is entered here is irrelevant; However, Google insists that an entry be made here.
  • Click Save to complete the process.
  • Now switch back to the Credentials tab and click on Create credentials.
  • Select the second option "OAuth client ID".
  • The process for creating the client ID begins, with which API keys can be generated.
  • Choose at Application type the entry "Web application" and give it a name.
  • Enter the address in the lowest area ("Authorized redirect URIs").
  • End the process with Create.
  • You will now be redirected back to the credentials area and land in the credentials overview. A popup named OAuth client, which outputs the client ID and the secret key.
  • These can also be viewed here later by clicking on the pencil icon on the right-hand side.
  • Confirm the window with OK.
  • Now switch to the Library area.
  • Select here in the list of GSuite APIs the Calendar API. This takes you to an area for the Google Calendar API.
  • Click on ENABLE here to activate the Calendar API yourself.

Setup in e-vendo

A new account must then be created in the â–ºAccount Management. To do this, click on "New".

  • In the first step, select the branch in which the account should be located.
  • The next step is to select the service or marketplace. Here you select the service "Google API" with the ID 10010.
  • Any name can now be specified for the account.
  • Then you get to the configuration for the Google API.
  • In the tab configuration the account data are entered as follows:
    • Application ID: This is the client ID that was created in the previous chapter.
    • Secret key: The so-called client secret, which was also generated with the client ID, must be inserted in this field.
  • You can then go to the tab calendar switch.
  • Here, with a click on Connect, the connection between e-vendo and the Google Calendar can be established. A popup opens with the Google login dialog. After you have logged in, you will be asked if you would like to allow e-vendo to access your calendar. Confirm this.