Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there an API for extracting grades in Google Classroom

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 external grade book app that I am creating. Does anyone know if this is possible, or how to do this?

like image 825
Derek Avatar asked Sep 20 '25 18:09

Derek


1 Answers

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.

like image 172
Eliana Cohen Avatar answered Sep 23 '25 10:09

Eliana Cohen



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!