简体   繁体   English

如何使用PHP API客户端检索公司的Google日历资源?

[英]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.

相关问题 如何检索Google Calendar Resources PHP API客户端? - How do I retrieve Google Calendar Resources PHP API client? 如何通过PHP中的Google Calendar API检索与我的Google Calendar共享的同事的日历名称? - How to retrieve the colleague's calendar name shared with my google calendar through google calendar API in PHP? 如何使用Google_API检索日历事件? - How do I use Google_API to retrieve calendar events? 客户端未经授权使用此方法检索访问令牌 - Google 日历 php api - Client is unauthorized to retrieve access tokens using this method - Google calendar php api 我如何让服务器使用PHP的客户端库将事件添加到Google日历中? - How can I have my server add events to a google calendar using the client library for PHP? 如何在Google Calendar API(php)中使用忙闲信息? - How do I use freebusy info in Google Calendar API (php)? 您如何通过 PHP 中的 API 检索谷歌日历的嵌入链接 - How do you retrieve the embed link for a google calendar through their API in PHP Google Calendar API - 客户端无权使用此方法检索访问令牌,或客户端未获得任何请求范围的授权 - Google Calendar API - Client is unauthorized to retrieve access tokens using this method, or client not authorized for any of the scopes requested 如何使用PHP从Google检索数据 - How do I retrieve data from google using PHP 如何使用Google的“简单API访问密钥”访问Google日历信息(PHP)? - How do I use Google's “Simple API Access key” to access Google Calendar info (PHP)?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM