【发布时间】:2021-11-20 12:11:16
【问题描述】:
我正在开发一个应用程序来显示来自谷歌日历的所有事件。有什么方法可以在一个 API 中从我拥有的所有日历中获取所有事件?
我查看了 google API 文档并找到了这个 API:
https://www.googleapis.com/calendar/v3/calendars/calendarId/events
在这里我必须选择一个日历来获取事件,但我有超过 6 个 Google 日历用于单个 Gmail 帐户,我真的不想为所有日历使用 for 循环。那么有没有办法在一个 API 调用中从所有日历中获取所有这些事件?
提前谢谢你
【问题讨论】:
-
I really don't want to use a for loop for all calendars...不幸的是,没有其他选择。如果有,您已经可以在文档中看到 -
我不确定是谁投了这个票,但是关于 Google 日历 API 的问题怎么可能与软件相关?
标签: php google-api google-calendar-api google-developers-console google-people-api