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:
- Student Name
- Student Number (SIS ID)
- Student Canvas ID
- Section Name
- Submission State
- Submission Score [the score given to the submission, seperate from the rubric]
- Rubric Grader Name
- Rubric Grader Role
- Rubric Total Score [the total score from the rubric]
- Each individual component of the rubric (grade and comments)
- Overall submission comments made by non-students only (student comments are filtered out)
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.
- Install Node 8.0.0 or greater.
- Install Git.
- Create a
.env
file. - Add the following:
CANVAS_API_TOKEN={YOUR API TOKEN}
andCANVAS_API_DOMAIN={YOUR API DOMAIN}
. An exampleCANVAS_API_DOMAIN
ishttps://{school}.instructure.com/api/v1
- Clone this repo.
git clone https://github.com/ubccapico/canvas-rubric.git
- Then cd into the repo.
cd canvas-rubric
- Run the installation script.
npm install
(If you seebabel-node: command not found
, you've missed this step.) - Open
index.js
and edit the courseId, assignmentId, and rubricId. - Run the application.
node index.js
- You'll be asked a series of prompts, and then the data will be output in
output
folder. - If you re-run the script for the same course, we recommend deleting the previous output file first
- justin0022 - Justin Lee <justin.lee@ubc.ca>
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.
This project is licensed under the GNU General Public License v3.0.