Skip to content

soyachin/canvas_bulk_download

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

canvas_bulk_download.py

A script for downloading almost all files from all of your Canvas courses (past and present). If you are interested in downloading all the material you've submitted to your Canvas courses, you can do so very easily by clicking the "Download Submissions" button on the right side of your Canvas settings page. I recommend doing this regardless of whether or not you run this repository's script!

Prerequisites:

  1. A python environment that has the libraries canvasapi, colorama, and InquirerPy installed. Once you install Python 3 (and activate your virtual environment if applicable), you can run pip install canvasapi colorama InquirerPy to install the necessary packages.
  2. A Canvas API token. You can get one by visiting your Canvas settings page and clicking "+ New Access Token" under the "Approved Integrations" section. Warning! Like all API tokens, keep this secret. If you paste your Canvas API token elsewhere, someone could end up accessing your Canvas account!

Usage:

  1. In the command line, activate your Python environment.
  2. Run python canvas_bulk_download.py. By default, all files from all courses you have access to will be downloaded to a subdirectory called canvas_downloads. From there, downloads are organized into courses and further into modules. This script does not download any part of Canvas quizzes, so if you have the ability to view your previous quizzes and wish to download them you'll have to modify the script.

NixOS:

If you use Nix/NixOS you can try this script just by using:

nix run github:soyachin/canvas_bulk_download

About

A script for downloading almost all files from all of your Canvas courses.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 84.8%
  • Nix 15.2%