SuperAPI AI 工具集

recipe-create-classroom-course

办公与效率

查看项目

更新于 10-16 07:20

技能介绍

用途:创建 Google Classroom 课程并邀请学生加入。执行前需先加载 gws-classroom 技能。

主要步骤与命令:

  1. 创建课程:gws classroom courses create --json '{"name": "Introduction to CS", "section": "Period 1", "room": "Room 101", "ownerId": "me"}'
  2. 邀请学生:gws classroom invitations create --json '{"courseId": "COURSE_ID", "userId": "student@school.edu", "role": "STUDENT"}'
  3. 列出已选课学生:gws classroom courses students list --params '{"courseId": "COURSE_ID"}' --format table

适用场景:需要批量或脚本化创建课堂课程、发送邀请、查看学生名单的教学管理流程。限制:依赖 gws-classroom 技能;需替换 COURSE_ID、学生邮箱等占位值;官方文档未提供更多错误处理、权限要求或配额说明。