recipe-create-classroom-course

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Create a Google Classroom Course

创建Google Classroom课程

PREREQUISITE: Load the following skills to execute this recipe:
gws-classroom
Create a Google Classroom course and invite students.
前提条件: 加载以下技能以执行此方案:
gws-classroom
创建Google Classroom课程并邀请学生。

Steps

步骤

  1. Create the course:
    gws classroom courses create --json '{"name": "Introduction to CS", "section": "Period 1", "room": "Room 101", "ownerId": "me"}'
  2. Invite a student:
    gws classroom invitations create --json '{"courseId": "COURSE_ID", "userId": "student@school.edu", "role": "STUDENT"}'
  3. List enrolled students:
    gws classroom courses students list --params '{"courseId": "COURSE_ID"}' --format table
  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