Using Admin Directory API, I can retrieve the rooms details by making a call in Google Apps Script.
Using something like this:
var res = AdminDirectory.Resources.Calendars.list(calendarId);
Then going ahead to loop over it and retrieving the rooms.
Is it possible to find out all the events booked using the above rooms using Google Calendar API or Admin Directory API? Or is it just not possible?
Update: I tried this API where I typed in the resourceEmail as the calendarID and it works but somehow coding this in Google apps script gives error as not found or undefined - please see comments: https://developers.google.com/google-apps/calendar/v3/reference/events/list?apix=true