How do I access other users calendars with google calendar v3?

拟墨画扇 提交于 2019-12-05 06:11:27

For primary calendars, the calendarId is the user's email address. The authenticated user will also need to have permission to access the calendar. If you're using the Provisioning API then I'll assume you are a super admin, and super admins can access every calendar on their domain.

The specific query you are trying to do takes a list of calendarIds to query as a JSON list. If you are only concerned about primary calendars, then set each user's email as an id like this:

"items": [
  {
    "id": "user1@example.com"
  },
  {
    "id": "user2@example.com"
  }
]
Sunny Jim

In 2013, I took about a week to integrate with Google Calendar.

There were several steps:

  1. ESTABLISH CREDENTIALS
  2. GET CALENDAR OWNER AUTHORIZATION
  3. RETRIEVE AUTHORIZATION CODE
  4. REQUEST TOKEN
  5. RETRIEVE TOKEN
  6. GET CALENDAR ID
  7. UPDATE THE TOKEN
  8. RETRIEVE CALENDAR ENTRIES

I described the steps in more detail in 2013, now web archived here: https://web.archive.org/web/20130215064337/http://www.tqis.com/eloquency/googlecalendar.htm#DOC77

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!