View source: R/get_page_content.R
get_page_content | R Documentation |
This function retrieves the content body of a specified page within a course in the Canvas LMS API.
get_page_content(canvas, course_id, page_id, return_as_plain_text = TRUE)
canvas |
An object containing the Canvas API key and base URL, obtained through the |
course_id |
The ID of the course to which the page belongs. |
page_id |
The ID of the page for which to fetch the content body. |
return_as_plain_text |
A logical value indicating whether to return the content as plain text (default is TRUE). |
The content body of the specified page, either as plain text or raw HTML.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.