Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

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": 'my.email@gmail.com'}]
       }
eventsResult = service.freebusy().query(body=body).execute()
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #manke #query #google #api #freebusy #python
ADD COMMENT
Topic
Name
5+6 =