Hi All,

Does anyone out there have any experience with searching a Google calendar using the version 3 API?

I'm trying to return results for events that contain the string "[123]" in the event title or description. "123" is an ID from another app and I deliberately wrapped it in square brackets when entering the data so I could do queries based on it.

$data = $cal->events->listEvents($calendarid, array('q' => '[123]'));

This all works ok, except Google is ignoring the square brackets in my search query, and returning anything containing the string "123". This is definitely not what I want. I have tried quoting my string (ie '"[123]"') and adding a + (ie '+"[123]"') but that doesn't seem to help.

Doesn't seem to be a lot of useful documentation on this, so I was wondering if anyone could point me in the right direction.

Thanks,

Harvey.


--
Harvey Kane

Phone:
- Auckland: +64 9 950 4133
- Wanaka: +64 3 746 8133
- Mobile: +64 21 811 951

Email: [email protected]
 If you need to contact me urgently, please read my email policy 
www.ragepank.com/email/

--
NZ PHP Users Group: http://groups.google.com/group/nzphpug
To post, send email to [email protected]
To unsubscribe, send email to
[email protected]

Reply via email to