powered by
Create a new material
create_material( course_id = NULL, topic_id = NULL, publish = FALSE, title = NULL, description = NULL, link = NULL )
Course id of where to make the new materials. Can find from end of URL e.g. "https://classroom.google.com/c/COURSE_ID_IS_HERE"
topic ID to be looked for.
TRUE/FALSE, automatically publish the coursework upon posting? Default is to be posted as a draft (students will not see it until you click Post).
Name of new material
A description for the new material
A URL to go with the associated material
if (FALSE) { course_id <- get_course_list()$courses$id[3] topic_id <- get_topic_list(course_id)$topic$topicId[1] create_material(course_id, topic_id, title = "new material") }
Run the code above in your browser using DataLab