I am working on a functionality where I need to fetch information about the meeting rooms which are treated as resource calendars. I am using googleapis node js client for other calendar related APIs, for e.g. events list, insert. I'm not able to find any methods in googleapis library to fetch data from resource calendar which is part of google admin SDK. Is there a NodeJS client for resource calendar API? Or any other way to call those APIs?
I'm doing the same kind of app and also blocked on the resources part.
It seems like all the resources are accessible through the Directory API.
import { google } from 'googleapis';
var service = google.admin('directory_v1');
service.resources.calendars.list();
You need to activate the Admin SDK in de Google Developper Console.
And I suppose to connect with an admin account.
It's stupid because as a regular user you can see the resources like rooms for calendar.