简体   繁体   中英

A function to find or return a Google Calendar event Organizer?

Is there a function in app script or app maker to get the organizer of a google calendar event? Currently my program is sorting jobs by creator, but the creator is not always the organizer so I was wondering if there is a field for organizer, or way to access that variable?

You can get event organizer using Advanced Calendar Service .

var event = Calendar.Events.get(calendarId, eventId);
console.log(event.organizer.email);

To add Advanced Service in App Maker go to App Settings -> Advanced Services section -> Add Service button .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM