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.6.tar.gz
(7.3 kB
view hashes)
Built Distribution
Close
Hashes for canvas_lms_api-0.1.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0d63443793dd011e7dc9a05455a734e6f607d55a657addbedc41ba82933601a9 |
|
MD5 | 12ea34d818124182010a3c9928f51f08 |
|
BLAKE2b-256 | e1810f61295d78c060189300aba2d6bb97d471afad082011b18e941de4f68099 |