I need to see an example of Google Calendar API Sync (https://developers.google.com/google-apps/calendar/v3/sync) working with Python. Can someone please provide me with one?
Can't find Google Python API sync example
217 Views Asked by Ramiz Sami At
2
There are 2 best solutions below
0

Here is a example how to partial sync with python:
def get_list_event_update():
calendar_id = "[email protected]"
url_get_list_event_update = "https://www.googleapis.com/calendar/v3/calendars/" + calendar_id + "/events"
querystring = {"syncToken": "here_synctoken"}
response = requests.request("GET", url_get_list_event_update, headers=headers, params=querystring)
print(response.text)
You may check this tutorial. This tool is written in python to bidirectional synchronize a local iCal (.ics) file with Google Calendar.
How to use googlecalendarsync
Recommended usage
Hope this helps!