How can I retrieve the calendar ID of various calendars on my google calendar by using the API, I am aware that using the
page_token = None
while True:
calendar_list = service.calendarList().list(pageToken=page_token).execute()
for calendar_list_entry in calendar_list['items']:
print calendar_list_entry['summary']
page_token = calendar_list.get('nextPageToken')
if not page_token:
break
It will return the name but I would like to get it to return the CalendarId