问题描述
我正在尝试使用以下客户端库: https://developers.google .com/api-client-library/php/
I'm trying to use this client library: 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?
仅作扩展,我正在尝试获取以下内容: https://developers.google.com/admin-sdk/calendar-resource/#retrieving_calendar_resources
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
在他们的示例中,我没有看到PHP库.当前的客户端库无法做到这一点吗?
In their examples, I don't see the PHP library. Is this not possible with the current client library?
推荐答案
答案是我不能.
不,看起来该API是一种GData,该库仅适用于基于JSON的较新版本."
"No, looks like that API is a GData one - this library is only for the newer JSON based ones."
https://github.com/google/google-api- php-client/issues/206
这篇关于如何使用PHP API客户端检索公司的Google日历资源?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!