View source: R/get_section_students.R
get_section_students | R Documentation |
This function retrieves a list of students enrolled in a specific section of a course in Canvas LMS.
get_section_students(canvas, section_id, per_page = 100)
canvas |
A list containing the Canvas API key and base URL, typically obtained through a |
section_id |
The ID of the section for which to retrieve students. |
per_page |
(Optional) The number of student records to retrieve per page of results. Defaults to 100. |
A data frame containing details of students enrolled in the specified section.
## Not run:
canvas <- list(base_url = "https://your_canvas_instance.instructure.com", api_key = "your_api_key")
section_id <- "67890"
students <- get_section_students(canvas, section_id)
print(students)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.