ubc / canvas-rubric

Gets canvas rubric with grades using the CLI.
GNU General Public License v3.0
6 stars 0 forks source link
api canvas lms rubric

Canvas Rubric

Download Assignments and Quiz rubric scores (and comments, only for Assignments right now).

A canvas submission has two scores: the Submission Score and the Rubric Total Score. These may be provided by different users (i.e a TA uses the rubric and the Instructor gives a final score). The data provided here only indicates the Rubric Grader which may be different than the provider of the Submission Score.

Canvas Rubric returns a CSV with the following headers:

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 8.0.0 or greater.
  2. Install Git.

Host URL and Token setup

  1. Create a .env file.
  2. Add the following: CANVAS_API_TOKEN={YOUR API TOKEN} and CANVAS_API_DOMAIN={YOUR API DOMAIN}. An example CANVAS_API_DOMAIN is https://{school}.instructure.com/api/v1

Installation and starting application

  1. Clone this repo. git clone https://github.com/ubccapico/canvas-rubric.git
  2. Then cd into the repo. cd canvas-rubric
  3. Run the installation script. npm install (If you see babel-node: command not found, you've missed this step.)
  4. Open index.js and edit the courseId, assignmentId, and rubricId.
  5. Run the application. node index.js
  6. You'll be asked a series of prompts, and then the data will be output in output folder.
  7. If you re-run the script for the same course, we recommend deleting the previous output file first

Authors

Issues

Run into any problems? It may be because the course you selected has no rubrics. Or it may be because you've discovered a bug.

Please submit an issue detailing your problem (the more context you can provide, the better) and I'll take a look.

License

This project is licensed under the GNU General Public License v3.0.