Celebrate Excellence in Education: Nominate Outstanding Educators by April 15!
Found this content helpful? Log in or sign up to leave a like!
Hi,
Is there an API to get analytics for Instructor?
I tried this api with InstructorId,
GET /api/v1/courses/:course_id/analytics/users/:student_id/activity
but that did not work, it gives
The specified resource does not exist.
Whereas for the same course, if I try to pass in a StudentId, then that data is available
We have already built a commercial analytics solution called Instructor Insight. See attachment below and we have a video on our partner page: Partner Listing: AspirEDU, Inc.
Hi,
Thank you! But I need the data via API, is it possible?
This is the current analytics API: https://canvas.instructure.com/doc/api/analytics.html but as you have found it does not include instructors in a course-level call.
You can also trigger Reports via the API: https://canvas.instructure.com/doc/api/account_reports.html, and download them. Personally I built some code to get the report ID and wait for it to complete.
If you look at that screenshot above, you can see how you might use various API calls to get that info, e.g. the enrollments API is pretty full-featured: https://canvas.instructure.com/doc/api/enrollments.html
Not sure if you could build something using graphql - https://canvas.instructure.com/doc/api/file.graphql.html.
Thanks everyone for your responses
We decided to go with:
GET|/api/v1/audit/course/courses/:course_id
List course change events for a given course.
and
GET|/api/v1/users/:user_id/page_views
Return a paginated list of the user's page view history in json format, similar to the available CSV download. Page views are returned in descending order, newest to oldest.
To participate in the Instructure Community, you need to sign up or log in:
Sign In