我们如何过滤具有与会者姓名的 google 日历事件

How can we filter the google calendar events with attendee name

有什么方法可以专门获取与会者姓名的日历事件。

我已经检查了API,

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

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

但我特别想传递与会者姓名以从日历中获取活动。

根据上述API,我怀疑我们可能通过使用 privateExtendedProperty 或 sharedExtendedProperty 请求参数 (propertyName=Name) 获得,但我没有获得。我在传递值时卡住了并得到了想要的结果。

搜索 google 日历事件是自由文本。

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

这意味着您添加要搜索的文本,它将在其设计用于搜索的所有字段中搜索该值。你不能指定它应该只检查 items(attendees%252Femail) 例如

example 只需添加您要搜索的人的电子邮件地址,然后您将不得不在您的末端再次处理它以确保它实际上是已参加的那个设置而不是其他字段。