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
/** | |
* Google App Script to check the iCalID of a specific Google Calendar event. | |
* You need to have access to the Google Calendar, as designated by the Google Calendar ID | |
*/ | |
function checkICalId() { | |
var calendarId = '[email protected]'; | |
var startTime = new Date('2020-01-18T17:15+0900'); | |
var endTime = new Date('2020-01-18T17:15+0900'); | |
var events = CalendarApp.getCalendarById(calendarId).getEvents(startTime, endTime); | |
for (var i = 0; i < events.length; i++) { |