Tổng quan về API Lịch Google
Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
Google Calendar API là một API dựa trên REST có thể truy cập thông qua các lệnh gọi HTTP rõ ràng hoặc bằng cách sử dụng Thư viện ứng dụng Google. API này cung cấp hầu hết các tính năng có trong giao diện web của Lịch Google.
Sau đây là danh sách các thuật ngữ thường dùng trong API Lịch Google:
- Sự kiện
- Một sự kiện trên lịch có chứa thông tin như tiêu đề, thời gian bắt đầu và kết thúc, cũng như người tham dự. Sự kiện có thể là sự kiện một lần hoặc sự kiện định kỳ. Một sự kiện được biểu thị bằng một Tài nguyên sự kiện.
- Lịch
- Một tập hợp các sự kiện. Mỗi lịch đều có siêu dữ liệu liên kết, chẳng hạn như nội dung mô tả lịch hoặc múi giờ mặc định của lịch. Siêu dữ liệu cho một lịch được biểu thị bằng một tài nguyên Lịch.
- Danh sách lịch
- Danh sách tất cả các lịch trong danh sách lịch của người dùng trong giao diện người dùng Lịch. Siêu dữ liệu cho một lịch duy nhất xuất hiện trong danh sách lịch được biểu thị bằng một tài nguyên CalendarListEntry.
Siêu dữ liệu này bao gồm các thuộc tính dành riêng cho người dùng của lịch, chẳng hạn như màu sắc hoặc thông báo về sự kiện mới.
- Chế độ cài đặt
- Lựa chọn ưu tiên của người dùng trên giao diện người dùng Lịch, chẳng hạn như múi giờ của người dùng. Một lựa chọn ưu tiên duy nhất của người dùng được biểu thị bằng một Setting Resource (Tài nguyên cài đặt).
- ACL
- Một quy tắc kiểm soát quyền truy cập cấp cho người dùng (hoặc một nhóm người dùng) một cấp độ truy cập cụ thể vào lịch. Một quy tắc kiểm soát quyền truy cập duy nhất được biểu thị bằng một tài nguyên ACL.
Trừ phi có lưu ý khác, nội dung của trang này được cấp phép theo Giấy phép ghi nhận tác giả 4.0 của Creative Commons và các mẫu mã lập trình được cấp phép theo Giấy phép Apache 2.0. Để biết thông tin chi tiết, vui lòng tham khảo Chính sách trang web của Google Developers. Java là nhãn hiệu đã đăng ký của Oracle và/hoặc các đơn vị liên kết với Oracle.
Cập nhật lần gần đây nhất: 2025-08-29 UTC.
[null,null,["Cập nhật lần gần đây nhất: 2025-08-29 UTC."],[],[],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) |"]]