google api freebusy response exampel code example
Example: how to manke a query in google api freebusy python
the_datetime = tz.localize(datetime.datetime(2016, 1, 3, 0))
the_datetime2 = tz.localize(datetime.datetime(2016, 1, 4, 8))
body = {
"timeMin": the_datetime.isoformat(),
"timeMax": the_datetime2.isoformat(),
"timeZone": 'US/Central',
"items": [{"id": '[email protected]'}]
}
eventsResult = service.freebusy().query(body=body).execute()