Is there an API for extracting grades in Google Classroom

前端 未结 2 1542
野的像风
野的像风 2021-01-17 02:48

I was reviewing the Google Classroom API and noticed there was not an option for getting grades. I need to extract the assignment grades from Google Classroom into an exter

相关标签:
2条回答
  • 2021-01-17 02:59

    It is possible with Google Sheets and Apps Script. You can 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 SO question and the methods to access and modify spreadsheet sheets.

    0 讨论(0)
  • 2021-01-17 03:09

    You can definitely get grades from the API.

    Classroom.Courses.CourseWork.StudentSubmissions.list(course.id, work.id).studentSubmissions

    From there, loop through the studentSubmissions: studentSubmissions[i].assignedGrade

    That gets the assigned grade for that specific assignment. I also grab studentSubmissions.userId in order to get the student name. Let me know if you need anything else.

    0 讨论(0)
提交回复
热议问题