AnsweredAssumed Answered

Reproduce Student View of Grades via API

Question asked by John_Lowe@baylor.edu Expert on May 2, 2017
Latest reply on Jun 9, 2017 by Khaled Taleb-Agha

We are looking for the simplest method to reproduce the information on the student's own view of the gradebook using an API tool.  The best we could come up with so far is using this to list all of the assignments for a user in a course.

GET /v1/users/{user_id}/courses/{course_id}/assignments

 

 And then using this to loop through each assignment id from the above list and get the grade from the submissions.

GET /v1/courses/{course_id}/assignments/{assignment_id}/submissions/{user_id}

 

Can anyone think of a better method to generate this exact information with the fewest API calls -- including the weight calculations as seen in Canvas without having to manually recalculate?

 

Outcomes