- name: canvas-get-group-csv
- ops-run-with: jupyter
- python>=3.7
- canvasapi>=2.0.0
- supports universal environment 🌎
Canvas Get Group Csv is a Jupyter Notebook and Python application that is used to extract a csv file of group names and associated student user IDs in any Canvas course. The output is a csv called "courseid_course_name_Group Information_datetime.csv" in the folder "output". Application requires the following user inputs:
- Canvas Instance
- Active Canvas Access Token
- Course ID
group_id,group_name,course_name,course_id,user_id,user_name
- group_id (as it appears on Canvas)
- group_name (as it appears on Canvas)
- course_name (as it appears on Canvas)
- course_id (as it appears on Canvas)
- user_id (as it appears on Canvas)
- user_name (as it appears on Canvas)
NOTE: this table contains sensitive information and should NOT be distributed or uploaded anywhere
- Students unassigned to groups are not included in output.
- Group sets on Canvas are ignored - only group names included in output.
- Duplicate group names are not corrected.
Are you Sauder Operations Staff? Please go here for detailed instructions to run in Jupyter. ("The Project", or "the-project" is "canvas-get-group-csv" or "Canvas Get Group CSV").
Project uses conda to manage environment (See official conda documentation here)
- Clone canvas-get-group-csv repository
- Install conda (Python 3.7 version)
- Import environment:
$ conda env create -f environment.yml
- Run:
$ conda activate canvas-get-group-csv
$ python src/get_group_csv.py
- Follow instructions in terminal for inputs.