How do I retrieve Google Calendar Resources for my company using the PHP API client?

不想你离开。 提交于 2019-12-12 20:33:09

问题


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?

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

In their examples, I don't see the PHP library. Is this not possible with the current client library?


回答1:


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."

https://github.com/google/google-api-php-client/issues/206



来源:https://stackoverflow.com/questions/23925355/how-do-i-retrieve-google-calendar-resources-for-my-company-using-the-php-api-cli

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!