def get_assignments(course):
    'Takes a course object and returns\n    a Pandas data frame with all existing assignments and their attributes/data\n\n    Example:\n    course.get_assignments()'
    url_path = posixpath.join('api', 'v1', 'courses', course['course_id'], 'assignments')
    api_url = urllib.parse.urljoin(course['hostname'], url_path)
    token = course['token']
    resp = requests.get(url=api_url, headers={'Authorization': f'Bearer {token}', 'Accept': 'application/json+canvas-string-ids'}, json={'per_page': '10000'})
    assignments = resp.json()
    assign_data = pd.DataFrame.from_dict(assignments)
    return assign_data
Takes a course object and returns
a Pandas data frame with all existing assignments and their attributes/data

Example:
course.get_assignments()
def get_assignments(course):
    'Takes a course object and returns\n    a Pandas data frame with all existing assignments and their attributes/data\n\n    Example:\n    course.get_assignments()'
    url_path = posixpath.join('api', 'v1', 'courses', course['course_id'], 'assignments')
    api_url = urllib.parse.urljoin(course['hostname'], url_path)
    token = course['token']
    resp = requests.get(url=api_url, headers={'Authorization': f'Bearer {token}', 'Accept': 'application/json+canvas-string-ids'}, json={'per_page': '10000'})
    assignments = resp.json()
    assign_data = pd.DataFrame.from_dict(assignments)
    return assign_data