Pip installable canvas API used by GT classes
Project description
Installation
This will be updated with the "formal" pypi repo eventually, but for now it's located here.
python3 -m pip install --upgrade --index-url https://test.pypi.org/simple/ canvas-lms-api
Alternatively, you can download the source code and pip install from that:
git clone https://github.gatech.edu/omscs-ta/canvas-lms-api
cd canvas-lms-api
pip install .
Usage:
Get Canvas Token
Found here: Canvas > Account > Settings > Approved Integrations: > New Access Token.
Get Course Number
There are really 2 ways.
- Use this tool to find all the courses and then use the number below (cours is optional so you can set it later)
- Login to canvas
- Go to your course
- eg: https://gatech.instructure.com/courses/46234
- The value for canvas_course is "46234"
Get Assignments Example
from canvas_lms_api import Canvas
grader = Canvas(base="https://gatech.instructure.com", token=YOUR TOKEN, course=Your Course Number)
grader.GetAssignments()
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
canvas-lms-api-0.1.3.tar.gz
(6.8 kB
view hashes)
Built Distribution
Close
Hashes for canvas_lms_api-0.1.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f7cd558691d84f50aad2b60fcdb3fc6cabb1d4df5b6d087e0ab87dd2b4943993 |
|
MD5 | e2727c3b56e3eecf87c327e4e4159722 |
|
BLAKE2b-256 | 44c9d8e9b25f4b3c001cef7d2afe1735095c3b74fd6e6c0f5a61d6a5e1ff7b3e |