The Instructure Community will enter a read-only state on November 22, 2025 as we prepare to migrate to our new Community platform in early December. Read our blog post for more info about this change.
Found this content helpful? Log in or sign up to leave a like!
I am trying to pull student attendance data for a specific course.
My current method is to use: 'api/v1/users/sis_user_id:$user_sis_id?access_token=$access_token' to get the user's ID in canvas that is different than the $sis_user_id in this case.
Once I have the User's ID, I use: api/v1/courses/sis_course_id:$courseID/analytics/student_summaries?access_token=$access_token to get the course student summaries for each student enrolled in the course. Using php I am able to find the student summary for the specific user ID that I found above getting the user's [tardiness_breakdown] =>[missing] number.
This seems to work most of the time, but for some students, the 'missing' number is a large number like 10 which is not correct.
Any ideas on why this might be the case? Or other api to pull user absence data?
I realized since my last post that I was actually using the api to return data of a tardiness breakdown for assignments rather than attendance to the class. Is there an api call available for user absences in a certain course?
Community helpTo 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