how to manke a query in google api freebusy python

Solutions on MaxInterview for how to manke a query in google api freebusy python by the best coders in the world

showing results for - "how to manke a query in google api freebusy python"
Laura
13 Jan 2017
1the_datetime = tz.localize(datetime.datetime(2016, 1, 3, 0))
2the_datetime2 = tz.localize(datetime.datetime(2016, 1, 4, 8))
3body = {
4        "timeMin": the_datetime.isoformat(),
5        "timeMax": the_datetime2.isoformat(),
6        "timeZone": 'US/Central',
7        "items": [{"id": 'my.email@gmail.com'}]
8       }
9eventsResult = service.freebusy().query(body=body).execute()
10