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.7.tar.gz
(7.3 kB
view hashes)
Built Distribution
Close
Hashes for canvas_lms_api-0.1.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 801e1acc3f206e627b279cf85a50174e3c43f5512bd178252b55d5a4afda294a |
|
MD5 | c0fabb9143eac900516defee5a78171c |
|
BLAKE2b-256 | 03dbb3ac64fd00c3b33cb58a95b13f067eb84c776643ec408382da8a49167aac |