Last active
November 4, 2020 11:39
-
-
Save leoaiassistant/45890c2d6e128a09328c218e6ef24d3e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Enter your calendar ID below and service account JSON below | |
const calendarId = "<your_Calendar_ID>"; | |
const serviceAccount = { | |
"type": "service_account", | |
"project_id": "your_JSON_ID", | |
"private_key_id": "your_JSON_ID", | |
"private_key": "your_JSON_ID-----END PRIVATE KEY-----\n", | |
"client_email": "your_JSON_ID", | |
"client_id": "your_JSON_ID", | |
"auth_uri": "your_JSON_ID", | |
"token_uri": "your_JSON_ID", | |
"auth_provider_x509_cert_url": "https://www.googleapis.com/oauth2/v1/certs", | |
"client_x509_cert_url": "https://www.googleapis.com/robot/v1/metadata/x509/demobooking%40demo2-augyeo.iam.gserviceaccount.com" | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment