GData 和 iOS 从所有日历中获取所有事件?

发布于 2024-12-16 19:52:07 字数 98 浏览 3 评论 0原文

我有一个谷歌日历,里面有 5 个日历。 我知道如何获取每个日历以获取其事件,但我正在寻找一种同时获取所有日历的方法?

任何帮助将不胜感激?

谢谢 沙尼

I have a google calendar with 5 calendars in it.
I know how to fetch each calendar to get its events, but i am looking for a way to fetch all the calendars at once?

Any help will be appreciated?

Thanks
Shani

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

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

发布评论

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

评论(1

悲歌长辞 2024-12-23 19:52:07

在 v3 之前,API 不允许您通过单个请求获取多个日历,也不允许您在单个请求中操作多个日历。

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

现在 v3 已经发布,您可以通过一个请求从多个日历中获取一些信息。
这是一个例子:
https://code.google.com/apis/calendar/v3/using .html#freebusy

Before v3, 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.

Now that v3 is out, you can get some information from several calendar on a single request.
Here's an example:
https://code.google.com/apis/calendar/v3/using.html#freebusy

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