批量查询多个 Google 日历中的事件

发布于 2024-12-13 21:07:15 字数 624 浏览 4 评论 0原文

有没有办法在单个批量请求中查询多个日历(在同一个 Google 帐户中)中的事件?

我已阅读此处的 Google 文档,但是这并没有真正帮助。

我真正想做的是扫描给定用户的日历并获取每个用户的事件列表。

python/gdata 中的一个例子会很棒。

编辑:看起来像回答了我的问题。 TL;DR 不可能。

Is there a way to query for events in multiple calendars (in the same Google account) in a single batch request?

I've been through the Google documentation here, but it hasn't really helped.

What I'm trying to do really is scan through a given user's calendars and get a list of events for each one.

An example in python/gdata would be amazing.

EDIT: Looks like this answers my question. TL;DR not possible.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

怪我闹别瞎闹 2024-12-20 21:07:15

简短回答:没有

长回答:API 不允许您通过单个请求获取多个日历,也不允许您在单个请求中操作多个日历。

如果这对您来说真的很重要(您正在尝试减少请求,所以我猜这与性能有关),您可以使用 Google App Engine 创建一个可以为您执行此工作的函数。但我不确定您会看到性能的大幅跃升。

Short answer: No

Long answer: The API does not allow you to fetch more than one calendar with a single request and it doesn't allow you to manipulate more than one calendar in a single request.

If this is really important to you (you're trying to reduce requests so I guess it's about performance), you could possible use the Google App Engine to create a function that would perform this work for you. I'm not sure you would see a big jump in performance though.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文