We have G-suite business in our company and I was asked to create a script that extracts all calendar events from all the users in the company domain for future processing. The goal here is to create some useful KPIs for meeting times.
I know that I should use the Calendar API. In fact, I've already done that, but I think I'm missing something.
Should I run the script with an admin account?
Should all user's calendars be shared with the user that runs the script?
CodePudding user response:
If you use a service account with domain-wide delegation of authority you will not have to ask your domain users to share the calendars, but if your domain have just a few of users that might work too.
Related
- Get All Google Calendars Shared Within A Domain
- Get a list of all coworkers' calendars
- can I set/change the owner Google Calendar event using an Apps script?
- How to make changes to a single user's google calendar using google apps script
Resources