Skip to content

Outputs Canvas discussions as a CSV for specified course.

License

Notifications You must be signed in to change notification settings

willengle/canvas-discussion

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JavaScript Style Guide

Canvas Discussion

This project pulls via the Canvas API the discussions from the specified Canvas course and exports it as CSV.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for use with your own API tokens and Canvas domains.

Prerequisites

  1. Install Node 10 or greater.
  2. Install Git.

Installion and execution of script

  1. Clone this repo. git clone https://github.com/justin0022/canvas-discussion.git
  2. Then cd into the repo. cd canvas-discussion
  3. Run the installation script. npm install (If you see babel-node: command not found, you've missed this step.)
  4. Generate Canvas API token and copy it to clipboard.
  5. Rename the sample.env file to .env, and add your API token to CANVAS_API_TOKEN=.
  6. Add your course ID to index.js, where it says: getDiscussions(/* add Canvas course id here */)
  7. Run the script. npm start.
  8. An output.csv file should be generated with discussion data.

About

Outputs Canvas discussions as a CSV for specified course.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%