Recipe Create Classroom Course
googleworkspace/cli20.2k
This skill enables users to create and manage Google Classroom courses programmatically. It allows for creating courses, inviting students, and listing enrolled students through a set of command-line steps. It's ideal for educators, administrators, or developers automating classroom management and integrating Google Classroom with other tools.
Create a Google Classroom Course
PREREQUISITE: Load the following skills to execute this recipe:
gws-classroomCreate a Google Classroom course and invite students.
Steps
- Create the course:
gws classroom courses create --json '{"name": "Introduction to CS", "section": "Period 1", "room": "Room 101", "ownerId": "me"}' - Invite a student:
gws classroom invitations create --json '{"courseId": "COURSE_ID", "userId": "student@school.edu", "role": "STUDENT"}' - List enrolled students:
gws classroom courses students list --params '{"courseId": "COURSE_ID"}' --format table
GitHub Owner
Owner: googleworkspace
GitHub Links
- Website: https://developers.google.com/workspace
- Twitter: https://twitter.com/workspacedevs
SKILL.md
name: recipe-create-classroom-course version: 1.0.0 description: "Create a Google Classroom course and invite students." metadata: openclaw: category: "recipe" domain: "education" requires: bins: ["gws"] skills: ["gws-classroom"]
Create a Google Classroom Course
PREREQUISITE: Load the following skills to execute this recipe:
gws-classroomCreate a Google Classroom course and invite students.
Steps
- Create the course:
gws classroom courses create --json '{"name": "Introduction to CS", "section": "Period 1", "room": "Room 101", "ownerId": "me"}' - Invite a student:
gws classroom invitations create --json '{"courseId": "COURSE_ID", "userId": "student@school.edu", "role": "STUDENT"}' - List enrolled students:
gws classroom courses students list --params '{"courseId": "COURSE_ID"}' --format table