Creates a new item in a specific module in a specifc course using the Canvas LMS API.
create_module_item(
canvas,
course_id,
module_id,
item_title,
item_type = "Page",
position = NULL,
page_url = NULL,
page_id = NULL
)A confirmation message that the page has been created.
A list containing the 'api_key' and 'base_url' for authentication.
The ID of the course in which to create the module item.
The ID of the module in which to create the item.
The title of the new item within the module.
The type of item. Defaults to "Page".
(Optional) The position of the item within the module. Defaults to 1.
(Optional) The url of the page.
(Optional) The id of the page.