As per https://developers.google.com/calendar/api/v3/reference/events/list, the q
parameter does the following:
These search terms also match predefined keywords against all display title translations of working location, out-of-office, and focus-time events. For example, searching for “Office” or “Bureau” returns working location events of type officeLocation, whereas searching for “Out of office” or “Abwesend” returns out-of-office events. Optional.
Unfortunately, the “smart” translation feature yields unexpected results for my use case.
Is there a way to disable this feature and have the q
parameter behave exactly as I specify in terms of my query?
I’d like to query events with specific keywords only (e. g. offline, pto, leave, …). I do not want the API to make additional assumptions/ translations/ inclusions.
user26801992 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.