Last active
August 9, 2018 04:52
-
-
Save Tolsee/0b8d749bec0a376f85f1a102d67d0fc1 to your computer and use it in GitHub Desktop.
Node google calendar api
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
const {google} = require('googleapis'); | |
const calendar = google.calendar({ | |
version: 'v3', | |
auth: oauth2Client | |
}); | |
const res = await calendar.events.list({ | |
calendarId: 'primary', | |
maxResults: 10 | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment