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

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

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

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