Google Calendar API 總覽
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
Google Calendar API 是 RESTful API,可透過明確的 HTTP 呼叫或使用 Google 用戶端程式庫存取。這個 API 可公開 Google 日曆網頁介面提供的大部分功能。
以下列出 Google Calendar API 中常用的術語:
- 活動
- 日曆中的活動,包含標題、開始和結束時間,以及參與者等資訊。活動可以是單一活動或週期性活動。事件是由事件資源表示。
- 日曆
- 一系列活動。每個日曆都有相關聯的中繼資料,例如日曆說明或預設日曆時區。單一日曆的中繼資料由日曆資源表示。
- 日曆清單
- 使用者日曆清單中的所有日曆清單,日曆清單中顯示的單一日曆中繼資料,是以 CalendarListEntry 資源表示。這類中繼資料包括日曆的使用者專屬屬性,例如日曆顏色或新活動的通知。
- 設定
- 日曆使用者介面中的使用者偏好設定,例如使用者的時區。單一使用者偏好設定由設定資源代表。
- ACL
- 存取權控管規則,可授予使用者 (或使用者群組) 特定層級的日曆存取權。單一存取權控管規則以 ACL 資源表示。
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-08-29 (世界標準時間)。
[null,null,["上次更新時間:2025-08-29 (世界標準時間)。"],[],[],null,["# Google Calendar API overview\n\nThe Google Calendar API is a RESTful API that can be accessed through explicit HTTP\ncalls or using the Google Client Libraries. The API exposes most of the features\navailable in the Google Calendar Web interface.\n\nFollowing is a list of common terms used in the Google Calendar API:\n\n*[Event](/workspace/calendar/v3/reference/events)*\n: An event on a calendar containing information such as the title, start and end\n times, and attendees. Events can be either single events or [recurring\n events](/workspace/calendar/concepts/events-calendars#recurring_events). An event is\n represented by an\n [Event resource](/workspace/calendar/v3/reference/events#resource-representations).\n\n*[Calendar](/workspace/calendar/v3/reference/calendars)*\n: A collection of events. Each calendar has associated metadata, such as\n calendar description or default calendar time zone. The metadata for a single\n calendar is represented by a\n [Calendar resource](/workspace/calendar/v3/reference/calendars).\n\n*[Calendar List](/workspace/calendar/v3/reference/calendarList)*\n: A list of all calendars on a user's calendar list in the Calendar UI. The\n metadata for a single calendar that appears on the calendar list is represented\n by a\n [CalendarListEntry resource](/workspace/calendar/v3/reference/calendarList).\n This metadata includes user-specific properties of the calendar, such\n as its color or notifications for new events.\n\n*[Setting](/workspace/calendar/v3/reference/settings)*\n: A user preference from the Calendar UI, such as the user's\n time zone. A single user preference is represented by a\n [Setting Resource](/workspace/calendar/v3/reference/settings).\n\n*[ACL](/workspace/calendar/v3/reference/acl)*\n: An access control rule granting a user (or a group of users) a specified level\n of access to a calendar. A single access control rule is represented by an [ACL\n resource](/workspace/calendar/v3/reference/acl).\n\nRelated topics\n--------------\n\n- To learn about developing with Google Workspace APIs, including handling\n authentication and authorization, refer\n to\n [Get started as a Google Workspace developer](/workspace/guides/getstarted-overview).\n\n- To learn how to configure and run a simple Google Calendar API app, read the\n [Quickstarts overview](/workspace/calendar/quickstarts-overview).\n\n|---|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| | Want to see the Google Calendar API in action? The Google Workspace Developers channel offers videos about tips, tricks, and the latest features. [Subscribe now](https://www.youtube.com/channel/UCUcg6az6etU_gRtZVAhBXaw) |"]]