uw_canvas/analytics.py
def get_activity_by_account(self, account_id, term_id):
        """
        Returns participation data for the given account_id and term_id.

        https://canvas.instructure.com/doc/api/analytics.html#method.analytics_api.department_participation
        """
        url = ("/api/v1/accounts/sis_account_id:%s/analytics/"
               "terms/sis_term_id:%s/activity.json") % (account_id, term_id)
        return self._get_resource(url)
def get_activity_by_account(self, account_id, term_id):
        url = ("/api/v1/accounts/sis_account_id:%s/analytics/"
               "terms/sis_term_id:%s/activity.json") % (account_id, term_id)
        return self._get_resource(url)
def get_activity_by_account ( self , account_id , term_id ) : url = ( "/api/v1/accounts/sis_account_id:%s/analytics/" "terms/sis_term_id:%s/activity.json" ) % ( account_id , term_id ) return self . _get_resource ( url )
Returns participation data for the given account_id and term_id.

        https://canvas.instructure.com/doc/api/analytics.html#method.analytics_api.department_participation
Returns participation data for the given account_id and term_id .