Pergunta

Can someone give me an example on how to use the setQ() method on google calendar v3 api for calendar events in Java? I try the setQ() method in google drive and it's worked fine, so I want to know how to do the same thing in google calendar events.

So for example, I have an event description in my 'primary' calendar that contains the word 'event test' and I want to retrieve all events in this 'primary' calendar that has its description contains the word 'event test'. Because I want to avoid looping all the hundreds or thousands of events in my calendar to find a specific event.

Thanks.

Foi útil?

Solução

Events feed = client.events().list("calendarId").setQ("search text").execute();

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top