View source: R/get_course_users.R
get_course_users | R Documentation |
This function retrieves the users enrolled in a specific course in the Canvas LMS API.
get_course_users(
canvas,
course_id,
per_page = 100,
include = c("enrollments", "locked", "avatar_url", "test_student", "bio",
"custom_links", "current_grading_period_scores", "uuid")
)
canvas |
An object containing the Canvas API key and base URL, obtained through the |
course_id |
The ID of the course for which to fetch the users. |
per_page |
The number of entries to show per page. |
include |
Optional parameters to include in the response. Possible values: "enrollments", "locked", "avatar_url", "test_student", "bio", "custom_links", "current_grading_period_scores", "uuid". |
A data frame containing the users in the specified course.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.