Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/abehandler/canvascli
An opinionated command-line interface for Canvas
https://github.com/abehandler/canvascli
canvas canvas-lms education instructure
Last synced: about 4 hours ago
JSON representation
An opinionated command-line interface for Canvas
- Host: GitHub
- URL: https://github.com/abehandler/canvascli
- Owner: AbeHandler
- Created: 2020-09-21T20:10:43.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2024-02-13T22:36:54.000Z (9 months ago)
- Last Synced: 2024-02-13T23:34:14.919Z (9 months ago)
- Topics: canvas, canvas-lms, education, instructure
- Language: Python
- Homepage:
- Size: 218 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
#### Make tomorrow's class visible on Canvas
`python -m src.cli -v -t`
#### Download all assignment files and run autograder
`python -m src.cli assignment -cn 'Week 01 Assignment' -download -nbn "one" -autograde`
#### Grade in-class assignment based on participation
`python -m src.cli grade -participation -assignment_id 1623528` where 1623528 is Canvas assignment ID
#### Make an in-class participation assignment for tomorrow
`python -m src.cli -t assignment -participation`
#### Make a quiz for tomorrow
`python -m src.cli -t -quiz`
#### Setup
1. `pip install canvasapi`
- https://github.com/ucfopen/canvasapi
2. You will need to set up a Canvas access token, and save the access token in an environment variable called CANVAS_TOKEN
3. You will need an .ini file for your course. There are a few ini files in this repo that you can copy and modify.
- The ini file should be called `.ini`. For instance, the ini file for the spring version of the class 2301 in 2021 is 2301S2021.ini.###### Gspread
This tool uses gspread to integrate with Google sheets. Follow these steps to enable access for a 'service account/bot'. Be sure to share the sheet with the email in the credentials.
- https://docs.gspread.org/en/latest/oauth2.html#enable-api-access-for-a-project#### Semester naming conventions
S = Spring
V = Summer (verano)
F = Fall