Matt Bellis
Matt Bellis

Reputation: 440

How do I access the "grade category" in Google Classroom using their API

I'm trying to build a dashboard to monitor class grades using the Google Classroom API.

When I create an assignment through the website, I have the option to give it a "Grade Category" which affects how it is weighted in the final grade. For example, I can create (in Course Settings) a Homework category that counts 20% toward the final grade or a Quizzes category that counts 30% toward the final grade and so on.

I've been using the python API and can download most everything I need so far except this "Grade Category", which means I can't compute their grades in my dashboard or do things like drop the lowest grade or similar actions. I figured there would be a field like "gradeCategory" but I can't find it anywhere.

Anyone else run across this?

Upvotes: 2

Views: 622

Answers (2)

David
David

Reputation: 2991

For posterity, gradeCategory is now accessible in CourseWork https://developers.google.com/classroom/reference/rest/v1/courses.courseWork#resource:-coursework. So you can use

to retrieve this info.

Take a look at the new Grading Guide as well to understand any pitfalls if you're building a dashboard like this.

Upvotes: 0

ziganotschka
ziganotschka

Reputation: 26796

Upvotes: 1

Related Questions