https://github.com/j2kun/canvas-scripts
Helpful scripts for working with Canvas
https://github.com/j2kun/canvas-scripts
Last synced: over 1 year ago
JSON representation
Helpful scripts for working with Canvas
- Host: GitHub
- URL: https://github.com/j2kun/canvas-scripts
- Owner: j2kun
- Created: 2020-04-06T02:37:53.000Z (about 6 years ago)
- Default Branch: main
- Last Pushed: 2023-07-25T20:47:14.000Z (almost 3 years ago)
- Last Synced: 2025-01-07T06:32:10.211Z (over 1 year ago)
- Language: Python
- Size: 15.6 KB
- Stars: 2
- Watchers: 4
- Forks: 0
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Canvas scripts
Helpful scripts for working with Canvas.
## Setup
```bash
virtualenv -p python3 venv
source venv/bin/activate
pip install -r requirements.txt
```
Create a file called `.env`
```
CANVAS_URL=""
CANVAS_TOKEN=""
```
## Download all gradebooks
Run
```bash
python download_gradebook.py
```
If it's your first time running this script, you will be asked to log in
to your Google account to authorize Google Drive Api to access and modify your Drive account.
Run the script a second time after authorizing to upload the gradebook to your Drive.