I'm trying to get data from an event using google-api-php-client. Particulary the starting and ending date of the event.
I have tried
foreach ($event->when as $when) { ...
but nothing.
Impossible to find the documentation of google-api-php-client with all the methods. Does somebody has a link?
There is no way of requesting just a set of events based upon a time frame. Your best bet is to just get them all then loop though them yourself. ListEvents
Note There is a q option for searching but I don't think it works for dates. I would have to test it
Most of the methods have php code in the documentation Google Calendar API Refrence