/auth/calendar
scopetoken_path
parameter to specify where the tool should create the token.json
file.token.json
file is used to store the user’s access and refresh tokens and is automatically created during the authorization flow if it doesn’t already exist.token_path
is not explicitly provided, the file will be created in the default location which is your current working directory.token_path
, please ensure that the directory you provide has write access, as the application needs to create or update this file during the authentication process.Parameter | Type | Default | Description |
---|---|---|---|
credentials_path | str | None | Path of the file credentials.json file which contains OAuth 2.0 Client ID. |
token_path | str | None | Path of the file token.json which stores the user’s access and refresh tokens. |
Function | Description |
---|---|
list_events | List events from the user’s primary calendar. |
create_event | Create a new event in the user’s primary calendar. |