uw_canvas/analytics.py
def get_activity_by_sis_course_id(self, sis_course_id):
        """
        Returns participation data for the given sis_course_id.

        https://canvas.instructure.com/doc/api/analytics.html#method.analytics_api.course_participation
        """
        url = "/api/v1/courses/%s/analytics/activity.json" % (
            self._sis_id(sis_course_id, sis_field="course"))
        return self._get_resource(url)
def get_activity_by_sis_course_id(self, sis_course_id):
        """
        Returns participation data for the given sis_course_id.

        https://canvas.instructure.com/doc/api/analytics.html#method.analytics_api.course_participation
        """
        url = "/api/v1/courses/%s/analytics/activity.json" % (
            self._sis_id(sis_course_id, sis_field="course"))
        return self._get_resource(url)
def get_activity_by_sis_course_id ( self , sis_course_id ) : url = "/api/v1/courses/%s/analytics/activity.json" % ( self . _sis_id ( sis_course_id , sis_field = "course" ) ) return self . _get_resource ( url )
Returns participation data for the given sis_course_id.

        https://canvas.instructure.com/doc/api/analytics.html#method.analytics_api.course_participation
Returns participation data for the given sis_course_id .