credentials_file
is a path to the JSON file that stores credentials to the Google account.Create
to create the new project.
APIs & Services
> Library
.
2.3 In the search bar, search for Google Calendar API
.
2.4 Click on Google Calendar API
, then click Enable
.
APIs & Services
> Credentials
.
3.2 Click on the Create Credentials
button and choose OAuth client ID
.
3.3 If you haven’t configured the OAuth consent screen before, you’ll be prompted to do so now. Make sure to choose External
for User Type, and add all the necessary scopes. Make sure to save the changes.
Now, create the OAuth client ID. Choose Desktop app
for the Application Type and give it a name.
3.4 Click Create
.
credentials_file
param.
calendar
table.
Now you can use your Google Calendar data, like this: