This project is a fork of this respository.
This Python script will help to mass upload avatar for Canvas users with their SIS ID. SIS ID is your internal ID when using SIS User Import in Canvas.
These are the minimum requirements to run this script:
- Python 2.x
- Requests module (can be installed via easy-install script)
- Admin Access Token - How to generate Access Token (Need to use admin account)
These configurations will need to be updated before you can run the script
domain = '***.instructure.com'
access_token = "ADMIN ACCESS TOKEN"
Please see the sample data.csv for data structure. The columns are:
- user_id: SIS ID
- image_filename: Image file name including extension in images/ folder
- image_filetype: can be jpeg, png or gif
python mass-update.py
Create an issue and I will try to help you out.
This project is supported by Haileybury.