daranzolin / rcanvas

R Client for Canvas LMS API
Other
91 stars 43 forks source link

Push Material #19

Open hathawayj opened 6 years ago

hathawayj commented 6 years ago

@daranzolin thanks for starting this package. We may be moving to canvas next fall and I would like to figure out a nice R centric way to build a Canvas course. I haven't looked at the API yet. If the possibility is there, I would love to help you build out the tools to push items into a Canvas course.

What are your thoughts?

daranzolin commented 6 years ago

@hathawayj always open to collaboration! The API docs are extensive, and we haven't implemented everything. I realize now that we don't have a Contributor Code of Conduct, but feel free to fork the package and submit a PR.

scottkosty commented 6 years ago

I would be very interested in being able to create files (i.e., the files that are accessible by students in the "Files" link). I post my R files from class demonstrations after every class, and it would both make things easier for me, and be a cool way to show how awesome R is, if I could just run a command at the end of class that does this.

Additionally, it would be nice to be able to create assignments.

Thanks for this great package! I look forward to learning more about it.

daranzolin commented 6 years ago

@scottkosty @hathawayj I just added two functions: upload_course_file and create_course_folder. You should be able to upload and organize content within a Canvas course now. Let me know if you encounter any issues!

daranzolin commented 6 years ago

@scottkosty @hathawayj I also added the ability to create assignments:

create_course_assigment(course_id = 1185256, 
                        name = "Assignment Name", 
                        points_possible = 100, 
                        unlock_at = "2018-05-01T08:00:00Z", 
                        due_at = "2018-06-01T20:00:00Z", 
                        description = "This is the description of the assignment.", 
                        published = TRUE)
scottkosty commented 6 years ago

@daranzolin thanks a lot! I look forward to testing this out next semester.

hathawayj commented 6 years ago

Thanks. We start Canvas in the fall. I am willing to help in the future.