View source: R/get_course_groups.R
get_course_groups | R Documentation |
This function retrieves the list of groups in a specific course in the Canvas LMS API.
get_course_groups(canvas, course_id, per_page = 100)
canvas |
A list containing the 'api_key' and 'base_url' for authentication. |
course_id |
The ID of the course for which to fetch the groups. |
per_page |
(Optional) The number of groups to retrieve per page of results (default is 100). |
A data frame of groups in the specified course.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.