---
id: ssh2-recipe-create-classroom-course
name: "recipe-create-classroom-course"
url: https://skills.yangsir.net/skill/ssh2-recipe-create-classroom-course
author: googleworkspace
domain: education
tags: ["google-classroom", "course-creation", "lms-integration", "educational-technology", "google-workspace"]
install_count: 14000
rating: 4.50 (136 reviews)
github: https://github.com/googleworkspace/cli
---

# recipe-create-classroom-course

> 创建一个Google Classroom课程，并邀请学生加入，便于在线教学和管理。

**Stats**: 14,000 installs · 4.5/5 (136 reviews)

## Before / After 对比

### 谷歌课堂课程创建与学生邀请流程的效率对比：告别繁琐的手动设置，拥抱智能自动化，显著提升教育管理效率

## Readme

# Create a Google Classroom Course

> **PREREQUISITE:** Load the following skills to execute this recipe: `gws-classroom`

Create a Google Classroom course and invite students.

## 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`



---
*Source: https://skills.yangsir.net/skill/ssh2-recipe-create-classroom-course*
*Markdown mirror: https://skills.yangsir.net/api/skill/ssh2-recipe-create-classroom-course/markdown*