Your Community is getting an upgrade!
Read about our partnership with Higher Logic and how we will build the next generation of the Instructure Community.
I have instructor privileges in Canvas and I'm looking for a way to query every quiz grade from certain students in my class. I'm just getting started with the Canvas API, so any advice or direction would be great. Ultimately, I want to be able to make a call and get output similar to this:
Student 1: Quiz 1 (90) Quiz 2 (90) Quiz 3 (80)
I have a course with thousands of students, and searching through them all on Canvas is super slow, so I'd like to be able to make a quick API call when I'm meeting with a student.
Solved! Go to Solution.
The data will come in JSON format, you'll need to display it as desired.
I would recommend the List submissions for multiple assignments endpoint of the Submissions API.
GET /api/v1/courses/:course_id/students/submissions?student_ids[]=:student_id&per_page=100
This will return all submissions for a student, up to 100 submissions. If you have more than 100 assignments, it will require pagination. You will need to replace :course_id and :student_id with the appropriate numbers.
@spaldinglatham , greetings! Due to the technical nature of this question, I've shared it with the Canvas Developers group in the Community to see if they can help.
Kona
The data will come in JSON format, you'll need to display it as desired.
I would recommend the List submissions for multiple assignments endpoint of the Submissions API.
GET /api/v1/courses/:course_id/students/submissions?student_ids[]=:student_id&per_page=100
This will return all submissions for a student, up to 100 submissions. If you have more than 100 assignments, it will require pagination. You will need to replace :course_id and :student_id with the appropriate numbers.
To interact with Panda Bot, our automated chatbot, you need to sign up or log in:
Sign InTo interact with Panda Bot, our automated chatbot, you need to sign up or log in:
Sign In
This discussion post is outdated and has been archived. Please use the Community question forums and official documentation for the most current and accurate information.