[英]How do I retrieve Google Calendar Resources for my company using the PHP API client?
I'm trying to use this client library: https://developers.google.com/api-client-library/php/ 我正在尝试使用以下客户端库: https : //developers.google.com/api-client-library/php/
I see how to fetch calendars and events, but how does one fetch a company's calendar resources like meeting rooms? 我知道如何获取日历和事件,但是如何获取公司的日历资源(如会议室)?
Just to expand a little bit, I'm looking at trying to fetch things like this: https://developers.google.com/admin-sdk/calendar-resource/#retrieving_calendar_resources 为了进一步扩展,我正在考虑尝试获取以下内容: https : //developers.google.com/admin-sdk/calendar-resource/#retrieving_calendar_resources
In their examples, I don't see the PHP library. 在他们的示例中,我没有看到PHP库。 Is this not possible with the current client library?
当前的客户端库不可能吗?
The answer is I can't. 答案是我不能。
"No, looks like that API is a GData one - this library is only for the newer JSON based ones." “不,看起来该API是一种GData,该库仅适用于基于JSON的较新版本。”
https://github.com/google/google-api-php-client/issues/206 https://github.com/google/google-api-php-client/issues/206
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.