get_modules: Retrieves the modules within a course.

View source: R/get_modules.R

get_modulesR Documentation

Retrieves the modules within a course.

Description

This function retrieves the modules within a specific course in the Canvas LMS API.

Usage

get_modules(canvas, course_id, per_page = 100)

Arguments

canvas

An object containing the Canvas API key and base URL, obtained through the canvas_authenticate function.

course_id

The ID of the course for which to fetch the modules.

per_page

The number of entries to show

Value

A list of modules within the specified course.


vvcanvas documentation built on June 22, 2024, 6:53 p.m.