我们如何过滤与会者姓名的Google日历事件 [英] How can we filter the google calendar events with attendee name

查看:86
本文介绍了我们如何过滤与会者姓名的Google日历事件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有什么方法可以获取日历事件,特别是与会者姓名.

Is there any way to get the calendar events specifically with attendee name.

我已经为此检查过API,

I have checked the API for this,

GET https://www.googleapis.com/calendar/v3/calendars/calendarId/events

如果我通过q ='abc'传递事件名称.我能够得到匹配的事件.

If I pass event name with q='abc'. I able to get the matched event.

但特别是我想传递与会者姓名,以便从日历中获取事件.

But particularly I want to pass the attendee name to get the event from calendar.

使用上述API,我怀疑我们可以通过使用privateExtendedProperty或sharedExtendedProperty请求参数(propertyName = Name)来获取,但没有得到.在传递值时卡住了,并获得了预期的结果.

With the above API, I suspect we might get by using privateExtendedProperty or sharedExtendedProperty request parameters (propertyName=Name) but I didn't get. I stuck while passing the values and get the desired results.

推荐答案

搜索Google日历事件是自由文本.

The search for google calendar events is free text.

自由文本搜索词可在任何字段中查找与这些词匹配的事件,扩展属性除外.选修的. (字符串)

Free text search terms to find events that match these terms in any field, except for extended properties. Optional. (string)

这意味着您添加了要搜索的文本,它将在其旨在搜索的所有字段中搜索该值.您无法指定它仅应检查items(attendees%252Femail)例如

Which means that you add the text you want to search for and it will search for that value in all of the fields its designed to search. You cant specifiy that it should check only items(attendees%252Femail) for example

示例只需添加您要搜索的人员电子邮件地址,然后您就必须再次对其进行处理,以确保它实际上是有人值班的,而不是其他字段.

example Just add the persons email address you want to search for then you will have to process it again on your end to ensure that its actually the attended thats set and not some other field.

这篇关于我们如何过滤与会者姓名的Google日历事件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆