To use these programs create a file .env and copy paste following
export CANVAS_ACCESS_TOKEN=$
export CANVAS_COURSE_STATE=available
export CANVAS_URL= https://canvas.ox.ac.uk
export CANVAS_PER_PAGE=40
For '$' get token from canvas as shown below steps
To get access token go
- Account > Settings > New access token (make sure to add expiry date for saftey)
- Copy Token and replace with $ in .env
To install canvasapi
pip install canvasapi
To install dotenv
pip install python-dotenv