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.5.tar.gz
(7.1 kB
view hashes)
Built Distribution
Close
Hashes for canvas_lms_api-0.1.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 714df39a55a9fad6fed28b5864371d6f7b107e6538ad644d3d69e16a54e745f1 |
|
MD5 | fbfca99e49a2c63032b9e122a5c9fb67 |
|
BLAKE2b-256 | 423591a83d586d5be79a9d64c235c8632743cbda52778fc911f85914bef93e77 |