uw_canvas/assignments.py
def get_assignments(self, course_id):
        """
        List assignments for a given course

        https://canvas.instructure.com/doc/api/assignments.html#method.assignments_api.index
        """
        url = ASSIGNMENTS_API.format(course_id)
        data = self._get_resource(url)
        assignments = []
        for datum in data:
            assignments.append(Assignment(data=datum))
        return assignments
def get_assignments(self, course_id):
        """
        List assignments for a given course

        https://canvas.instructure.com/doc/api/assignments.html#method.assignments_api.index
        """
        url = ASSIGNMENTS_API.format(course_id)
        data = self._get_resource(url)
        assignments = []
        for datum in data:
            assignments.append(Assignment(data=datum))
        return assignments
List assignments for a given course

        https://canvas.instructure.com/doc/api/assignments.html#method.assignments_api.index