Skip to content

Instantly share code, notes, and snippets.

View josueal1's full-sized avatar
🎯
Learning 24/7

Josue Lopez josueal1

🎯
Learning 24/7
View GitHub Profile
@ttsukagoshi
ttsukagoshi / checkICalId.gs
Created January 18, 2020 17:26
Google App Script to check the iCalID of a specific Google Calendar event.
/**
* 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 = 'myCalendarID@group.calendar.google.com';
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++) {