gws-calendar by googleworkspace/cli
npx skills add https://github.com/googleworkspace/cli --skill gws-calendar广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
| 显示所有日历中的即将发生的事件 |
delete — 删除访问控制规则。get — 返回访问控制规则。insert — 创建访问控制规则。list — 返回日历访问控制列表中的规则。patch — 更新访问控制规则。此方法支持补丁语义。update — 更新访问控制规则。watch — 监视 ACL 资源的更改。delete — 从用户的日历列表中移除日历。get — 从用户的日历列表中返回一个日历。insert — 将现有日历插入用户的日历列表。list — 返回用户日历列表中的日历。patch — 更新用户日历列表中的现有日历。此方法支持补丁语义。update — 更新用户日历列表中的现有日历。watch — 监视 CalendarList 资源的更改。clear — 清空主日历。此操作会删除与账户主日历关联的所有事件。delete — 删除辅助日历。使用 calendars.clear 来清空主日历上的所有事件。get — 返回日历的元数据。insert — 创建辅助日历。请求的认证用户将成为新日历的数据所有者。注意:我们建议以日历的预期数据所有者身份进行认证。您可以使用全域授权委托来允许应用程序代表特定用户操作。不要使用服务账号进行认证。如果您使用服务账号进行认证,服务账号将成为数据所有者,这可能导致意外行为。
patch — 更新日历的元数据。此方法支持补丁语义。update — 更新日历的元数据。stop — 停止通过此通道监视资源get — 返回日历和事件的颜色定义。delete — 删除事件。get — 根据其 Google Calendar ID 返回事件。要使用其 iCalendar ID 检索事件,请使用 iCalUID 参数调用 events.list 方法。import — 导入事件。此操作用于将现有事件的私有副本添加到日历。只有 eventType 为 default 的事件才能被导入。已弃用的行为:如果导入了非默认事件,其类型将更改为 default,并且其可能具有的任何特定于事件类型的属性将被丢弃。insert — 创建事件。instances — 返回指定重复事件的实例。list — 返回指定日历上的事件。move — 将事件移动到另一个日历,即更改事件的组织者。注意,只有默认事件可以移动;生日、专注时间、来自 Gmail、外出和办公地点事件无法移动。patch — 更新事件。此方法支持补丁语义。quickAdd — 基于简单的文本字符串创建事件。update — 更新事件。watch — 监视 Events 资源的更改。query — 返回一组日历的忙闲信息。get — 返回单个用户设置。list — 返回认证用户的所有用户设置。watch — 监视 Settings 资源的更改。在调用任何 API 方法之前,请先检查它:
# 浏览资源和方法
gws calendar --help
# 检查方法的必需参数、类型和默认值
gws schema calendar.<resource>.<method>
使用 gws schema 输出来构建您的 --params 和 --json 标志。
每周安装数
9.6K
代码库
GitHub 星标数
22.2K
首次出现
2026年3月4日
安全审计
安装于
codex9.0K
opencode8.9K
gemini-cli8.9K
cursor8.9K
github-copilot8.9K
amp8.9K
PREREQUISITE: Read
../gws-shared/SKILL.mdfor auth, global flags, and security rules. If missing, rungws generate-skillsto create it.
gws calendar <resource> <method> [flags]
delete — Deletes an access control rule.get — Returns an access control rule.insert — Creates an access control rule.list — Returns the rules in the access control list for the calendar.patch — Updates an access control rule. This method supports patch semantics.update — Updates an access control rule.watch — Watch for changes to ACL resources.delete — Removes a calendar from the user's calendar list.get — Returns a calendar from the user's calendar list.insert — Inserts an existing calendar into the user's calendar list.list — Returns the calendars on the user's calendar list.patch — Updates an existing calendar on the user's calendar list. This method supports patch semantics.update — Updates an existing calendar on the user's calendar list.watch — Watch for changes to CalendarList resources.clear — Clears a primary calendar. This operation deletes all events associated with the primary calendar of an account.delete — Deletes a secondary calendar. Use calendars.clear for clearing all events on primary calendars.get — Returns metadata for a calendar.insert — Creates a secondary calendar. The authenticated user for the request is made the data owner of the new calendar.Note: We recommend to authenticate as the intended data owner of the calendar. You can use domain-wide delegation of authority to allow applications to act on behalf of a specific user. Don't use a service account for authentication. If you use a service account for authentication, the service account is the data owner, which can lead to unexpected behavior.
patch — Updates metadata for a calendar. This method supports patch semantics.update — Updates metadata for a calendar.stop — Stop watching resources through this channelget — Returns the color definitions for calendars and events.delete — Deletes an event.get — Returns an event based on its Google Calendar ID. To retrieve an event using its iCalendar ID, call the events.list method using the iCalUID parameter.import — Imports an event. This operation is used to add a private copy of an existing event to a calendar. Only events with an eventType of default may be imported. Deprecated behavior: If a non-default event is imported, its type will be changed to default and any event-type-specific properties it may have will be dropped.insert — Creates an event.instances — Returns instances of the specified recurring event.list — Returns events on the specified calendar.move — Moves an event to another calendar, i.e. changes an event's organizer. Note that only default events can be moved; birthday, focusTime, fromGmail, outOfOffice and workingLocation events cannot be moved.patch — Updates an event. This method supports patch semantics.query — Returns free/busy information for a set of calendars.get — Returns a single user setting.list — Returns all user settings for the authenticated user.watch — Watch for changes to Settings resources.Before calling any API method, inspect it:
# Browse resources and methods
gws calendar --help
# Inspect a method's required params, types, and defaults
gws schema calendar.<resource>.<method>
Use gws schema output to build your --params and --json flags.
Weekly Installs
9.6K
Repository
GitHub Stars
22.2K
First Seen
Mar 4, 2026
Security Audits
Gen Agent Trust HubPassSocketPassSnykPass
Installed on
codex9.0K
opencode8.9K
gemini-cli8.9K
cursor8.9K
github-copilot8.9K
amp8.9K
97,600 周安装
quickAdd — Creates an event based on a simple text string.update — Updates an event.watch — Watch for changes to Events resources.