AnsweredAssumed Answered

API endpoint for score on an assignment group?

Question asked by MLentini on Apr 22, 2015
Latest reply on May 6, 2015 by Matt Lewis

Hi admins,

 

I'm rummaging around in the API doc, and hoping to find a way to pull a piece of user data from a course. I'm stumped, and hoping the autonomous collective can help.

 

I'd like to be able to programmatically know the total score (or percentage) that a student has achieved for a particular assignment group in a course. I can get current/final grade (see below). That's fine, but what I'd like to do is see how they're doing on just one assignment group in the course. The scenario is our orientation course... once a student completes a certain set of assignments at a grade level, an external web app picks this up an unlocks certain privileges in and out of Canvas.

 

Is that endpoint there and I'm just documentation challenged today?

 

Thanks in advance for any help you can provide.

 

Marc

 

 

What I get from (I think) the users object:

"grades":{

      "html_url":"https://canvas.highline.edu/courses/123456/grades/********",

      "current_score":100,

      "final_score":8,

      "current_grade":null,

      "final_grade":null

Outcomes