recipe-create-classroom-course
作者: Google
建立一個 Google Classroom 課程並邀請學生。
npx skills add https://github.com/googleworkspace/cli --skill recipe-create-classroom-courseCreate a Google Classroom Course
PREREQUISITE: Load the following skills to execute this recipe:
gws-classroom
Create 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": "[email protected]", "role": "STUDENT"}' - List enrolled students:
gws classroom courses students list --params '{"courseId": "COURSE_ID"}' --format table
來自 Google 的更多技能
gws-modelarmor-sanitize-response
Google
Google Model Armor:透過 Model Armor 模板淨化模型回應。
gws-people
Google
管理聯絡人與個人資料。
gws-shared
Google
gws CLI:用於認證、全域旗標與輸出格式化的共享模式。
gws-sheets
Google
Google Sheets:讀取和寫入試算表。
gws-sheets-append
Google
Google Sheets:將一行資料附加到試算表中。
gws-sheets-read
Google
從試算表中讀取值。
gws-slides
Google
Google Slides:讀取與撰寫簡報。
gws-tasks
Google
Google Tasks:管理任務清單與任務。