Google 课堂中是否有用于提取成绩的 API
Is there an API for extracting grades in Google Classroom
我正在查看 Google 教室 API 并注意到没有获取成绩的选项。我需要将 Google 课堂中的作业成绩提取到我正在创建的外部成绩簿应用程序中。有谁知道这是否可能,或者如何做到这一点?
Google 表格和 Apps 脚本可以实现。您可以export your grades to Google Sheets and from there, you can use Apps Script to extract data from the sheets. To do that, you can check this and the methods 访问和修改电子表格。
你绝对可以从 API 中获得成绩。
Classroom.Courses.CourseWork.StudentSubmissions.list(course.id, work.id).studentSubmissions
从那里开始,遍历学生提交:
学生提交[i].assignedGrade
获得该特定作业的指定分数。我还抓取 studentSubmissions.userId 以获取学生姓名。如果您还需要什么,请告诉我。
我正在查看 Google 教室 API 并注意到没有获取成绩的选项。我需要将 Google 课堂中的作业成绩提取到我正在创建的外部成绩簿应用程序中。有谁知道这是否可能,或者如何做到这一点?
Google 表格和 Apps 脚本可以实现。您可以export your grades to Google Sheets and from there, you can use Apps Script to extract data from the sheets. To do that, you can check this
你绝对可以从 API 中获得成绩。
Classroom.Courses.CourseWork.StudentSubmissions.list(course.id, work.id).studentSubmissions
从那里开始,遍历学生提交: 学生提交[i].assignedGrade
获得该特定作业的指定分数。我还抓取 studentSubmissions.userId 以获取学生姓名。如果您还需要什么,请告诉我。