uw_canvas/users.py
def get_users_for_course(self, course_id, params={}):
        """
        Returns a list of users for the given course id.
        """
        url = COURSES_API.format(course_id) + "/users"
        data = self._get_paged_resource(url, params=params)
        users = []
        for datum in data:
            users.append(CanvasUser(data=datum))
        return users
def get_users_for_course(self, course_id, params={}):
        url = COURSES_API.format(course_id) + "/users"
        data = self._get_paged_resource(url, params=params)
        users = []
        for datum in data:
            users.append(CanvasUser(data=datum))
        return users
def get_users_for_course ( self , course_id , params = { } ) : url = COURSES_API . format ( course_id ) + "/users" data = self . _get_paged_resource ( url , params = params ) users = [ ] for datum in data : users . append ( CanvasUser ( data = datum ) ) return users
Returns a list of users for the given course id.
Returns a list of users for the given course id .