Get current_score for student in a course for spring semester only.

Jump to solution
RyanJawad
Community Member

I see how to get the current_score for a student in a course using the api endpoint:

/api/v1/courses/{course_id}/enrollments

This current_score is for the whole year, but I want the current_score the spring semester only.  How do I filter by the spring semester?  Essentially, I'm trying to get values in the column in the Canvas grade book called Total when the Grading Period: Spring Term filter is applied.

0 Likes
1 Solution
chriscas
Community Coach
Community Coach

Hi @RyanJawad,

Looking at the Enrollments - Canvas LMS REST API Documentation call, it appears you can specify the grading_period_id, which is what you'd want (when you're saying terms, I actually believe you're referring to what Canvas calls grading periods in your school's setup).  You'll probably need to use the Grading Periods - Canvas LMS REST API Documentation API to get that id number first if you don't have it already.

Does this info help?

-Chris

View solution in original post

0 Likes