Skip to content

How to get the "syllabus_body" for a specific course? #644

Closed Answered by bainco
yfmichea asked this question in Q&A
Discussion options

You must be logged in to vote

When you get the course (using get_course) you need to include the syllabus_body parameter:

https://canvas.instructure.com/doc/api/courses.html

And then the syllabus body is available via the syllabus_body property of the course.

canvas = Canvas(canvas_url, canvas_token)
the_course = canvas.get_course(course_id, include="syllabus_body")
print(the_course.syllabus_body)

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@yfmichea
Comment options

Answer selected by bennettscience
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants