get_course_items | R Documentation |
Returns a data.frame of various course items. See "item" argument below. Omitting the "item argument returns a course object.
get_course_items(course_id, item, include = NULL)
course_id |
A valid Canvas course id |
item |
Optional – one of "settings", "discussion_topics", "todo", "enrollments", "features", "files", "modules", "front_page", "pages", "quizzes", "folders". |
include |
Optional additions to the query string |
data frame
#' get_course_items(course_id = 20, item = "settings")
#' get_course_items(course_id = 20, item = "enrollments")
#' get_course_items(20, item = "users", include = "email")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.