从Google Calendar API获取日历[公共与私人]值(Get calendar [public vs private] value from Google Calendar API)

编程入门 行业动态 更新时间:2024-10-16 00:26:01
从Google Calendar API获取日历[公共与私人]值(Get calendar [public vs private] value from Google Calendar API)

我正在试图弄清楚Google日历API是如何工作的,到目前为止,我已经连接到没有问题的所有内容,并且按预期返回结果。

我理想的做法是使用calendarList( https://developers.google.com/google-apps/calendar/v3/reference/calendarList )获取用户日历的列表,并显示有关它们是否已设置的信息到PUBLIC,例如选中此框。

但是从我通过api看到的一切,这不是可以做到的事情

只是想知道是否有人发现任何相反的事情,或者是否有人之前遇到过这个问题。 非常感谢你的帮助

I'm trying to figure out how the Google Calendars API works, so far I've connected to everything without an issue and its returning results as expected.

What I'd ideally like to do is use calendarList (https://developers.google.com/google-apps/calendar/v3/reference/calendarList) to get a list of the user's calendars and display information about whether they are set to PUBLIC, e.g. have this boxed checked.

But from everything I've looked at through the api, this isn't something that can be done

Just wondering if anyone sees anything to the contrary or if anyone's come across the problem before. Thanks a lot for your help

最满意答案

我查看了有关Calendar API的所有文档,但就像你说的那样,我看不到任何可以做或想做的文档。

您只能使用CalendarList在用户列表中添加和删除现有日历。 您还可以使用它来检索和设置特定于用户的日历属性的值,例如默认提醒。 另一个例子是前景色,因为不同的用户可以为同一日历设置不同的颜色。

I looked in all of the documents about Calendar API but like you said, I can't see any documents that can do or make what you want.

You can only use CalendarList to add and remove existing calendars to/from the users’ list. You also use it to retrieve and set the values of user-specific calendar properties, such as default reminders. Another example is foreground color, since different users can have different colors set for the same calendar.

更多推荐

本文发布于:2023-07-09 01:21:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1082541.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:私人   日历   API   Google   Calendar

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!