Skip to content

Latest commit

 

History

History
34 lines (19 loc) · 629 Bytes

README.md

File metadata and controls

34 lines (19 loc) · 629 Bytes

Oxford-Canvas

How to use these programs

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

How to get access token

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

How to install required packages

To install canvasapi

pip install canvasapi

To install dotenv

pip install python-dotenv