Bernhard Wagner
Bernhard Wagner

Reputation: 1822

get list of all calendars of user. Not just the ones they chose to list on their google calendar page

How to get the list of all calendars of user. Not just the ones they chose to list on their google calendar page.

Apparently, google disapproves of (inhibits!) getting a list of all of the user's calendars. Only the calendars that the user chose to make visible on their google calendar page are iterable via service.calendarList().list().execute(). There's no equivalent for service.calendars(). How am I supposed to get the id of a calendar the user has chosen to hide from their google calendar page?

Upvotes: 0

Views: 69

Answers (1)

Linda Lawton - DaImTo
Linda Lawton - DaImTo

Reputation: 116868

You cant.

The only option open to you is as you said service.calendarList().list().execute() which does not contain all of the calendars that a user has access to just the ones that have been added to calendar list.

Upvotes: 1

Related Questions