NE
nelbren/grades-weighted-automatically
Grades weighted automatically using API of Canvas Instructure
Grades weighted automatically using API of Canvas Instructure
-
More information on how this program was developed
-
Output example
-
Get your API_KEY like this:
Canvas->Account->Settings->New Access Token->Fill fields of Purpose and Expires->Generate token->Copy the token!- Or view this video for more details: https://www.youtube.com/watch?v=cZ5cn8stjM0
-
Install this project
-
🐧Linux, 🍎Mac or 🪟 Windows
git clone https://github.com/nelbren/grades-weighted-automatically.git
-
-
Install requirements
-
Install Python 3:
-
🐧Linux
sudo apt install python3-pip -
🍎Mac
Python Releases for macOS -
🪟 Windows
Microsoft Store ->Python 3.12
-
-
Install the necessary files:
-
🐧Linux or 🍎Mac
./install.bash -
🪟 Windows
install.bat
-
-
-
Set your Instructure URL and API_KEY like this:
-
Using the environment variables:
-
Rename the my_set_env file:
-
🐧Linux or 🍎 Mac
Rename or copy my_set_env.bash.example to my_set_env.bash -
🪟 Windows
Rename or copy my_set_env.bat.example to my_set_env.bat -
Setting environment variables in the file.
- INSTRUCTURE_URL='https://some.instructure.com'
- API_KEY='your-api-key'
-
Run:
-
🐧Linux or 🍎Mac
./run.bash -
🪟 Windows
run.bat
-
-
-
-
Or using parameters:
-
Setting in the command line:
-
-u URL,--instructure_url https://some.instructure.com -
-k API_KEY,--api_key API_KEY
-
-
Run:
-
🐧Linux, 🍎Mac or 🪟Windows
python3 grades-weighted-automatically.py -u replace-with-your-INFRASTRUCTURE-URL -k replace-with-your-KEY_API
-
-
-
On this page
Languages
Batchfile41.5%Python34.9%Shell23.6%
Contributors
Created April 2, 2023
Updated December 16, 2024


