How can we filter the google calendar events with attendee name

旧街凉风 提交于 2020-02-06 08:31:07

问题


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

I have checked the API for this,

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

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.

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.


回答1:


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)

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.



来源:https://stackoverflow.com/questions/50503490/how-can-we-filter-the-google-calendar-events-with-attendee-name

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!