Courses grade book

JeremyWu
Community Member
1
1161

I want use course ID get grade book.But I don't find API document about that.

Which API can I use?

 

1 Comment
xcotto1
Community Participant

Hi @JeremyWu 

 

If you are trying to get course grades from each student enrollment you can use the "List users in course" endpoint and add the parameters like enrollment_type[] student and include[] enrollments to access their grade information:

                    "current_grade": "C",

                    "current_score": 71.63,

                    "final_grade": "D",

                    "final_score": 68.44,

                    "unposted_current_score": 71.63,

                    "unposted_current_grade": "C",

                    "unposted_final_score": 68.44,

                    "unposted_final_grade": "D"

Endpoint example:

/api/v1/courses/canvas_course_id/users?enrollment_state[]=active&enrollment_type[]=student&include[]=enrollments&per_page=100

Best,

-Xavier👾