SuperAPI AI 工具集

recipe-create-classroom-course

办公与效率

查看项目

更新于 10-16 06:52

技能介绍

用途:创建 Google Classroom 课程并向学生发送邀请,同时可查看已选课学生名单。

主要能力:

  1. 创建课程,可设置名称、章节、教室和所有者。
  2. 创建邀请,将指定用户以 STUDENT 角色加入课程。
  3. 列出课程中已注册的学生,并以表格格式输出。

使用方式:执行前需先加载 gws-classroom 技能。随后依次运行相应命令。 创建课程:gws classroom courses create --json '{"name": "Introduction to CS", "section": "Period 1", "room": "Room 101", "ownerId": "me"}' 邀请学生:gws classroom invitations create --json '{"courseId": "COURSE_ID", "userId": "student@school.edu", "role": "STUDENT"}' 列出学生:gws classroom courses students list --params '{"courseId": "COURSE_ID"}' --format table

适用场景:教师或管理员批量配置课堂、招生时。

限制:需要已有 gws 环境与相应权限;COURSE_ID 需替换为实际课程 ID;其余配置、价格及平台支持暂未提供。