uw_canvas/submissions.py
def get_submissions_multiple_assignments(
            self, is_section, course_id, students=None, assignments=None,
            **params):
        """
        List submissions for multiple assignments by course/section id and
        optionally student

        https://canvas.instructure.com/doc/api/submissions.html#method.submissions_api.for_students
        """
        api = SECTIONS_API if is_section else COURSES_API
        if students is not None:
            params['student_ids'] = students
        if assignments is not None:
            params['assignment_ids'] = assignments

        url = api.format(course_id) + "/students/submissions"
        data = self._get_paged_resource(url, params=params)
        submissions = []
        for submission in data:
            submissions.append(Submission(data=submission))
        return submissions
def get_submissions_multiple_assignments(
            self, is_section, course_id, students=None, assignments=None,
            **params):
        """
        List submissions for multiple assignments by course/section id and
        optionally student

        https://canvas.instructure.com/doc/api/submissions.html#method.submissions_api.for_students
        """
        api = SECTIONS_API if is_section else COURSES_API
        if students is not None:
            params['student_ids'] = students
        if assignments is not None:
            params['assignment_ids'] = assignments

        url = api.format(course_id) + "/students/submissions"
        data = self._get_paged_resource(url, params=params)
        submissions = []
        for submission in data:
            submissions.append(Submission(data=submission))
        return submissions
List submissions for multiple assignments by course/section id and
        optionally student

        https://canvas.instructure.com/doc/api/submissions.html#method.submissions_api.for_students