Skip to main content

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.

  1. Use this tool to find all the courses and then use the number below (cours is optional so you can set it later)
  2. Login to canvas

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


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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

canvas_lms_api-0.1.6-py3-none-any.whl (20.2 kB view details)

Uploaded Python 3

File details

Details for the file canvas-lms-api-0.1.6.tar.gz.

File metadata

  • Download URL: canvas-lms-api-0.1.6.tar.gz
  • Upload date:
  • Size: 7.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.6.8

File hashes

Hashes for canvas-lms-api-0.1.6.tar.gz
Algorithm Hash digest
SHA256 0d50f6d8668dbc02ac1adfb614f2583e9762b6fe67c988e2e8298a8ac7fb071d
MD5 72e795c823c033f52440e58ec408dc0b
BLAKE2b-256 73da8a3f48b0106baf9250f6c1e573503f55f5506ece051ea570363c78bdf446

See more details on using hashes here.

File details

Details for the file canvas_lms_api-0.1.6-py3-none-any.whl.

File metadata

  • Download URL: canvas_lms_api-0.1.6-py3-none-any.whl
  • Upload date:
  • Size: 20.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.6.8

File hashes

Hashes for canvas_lms_api-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 0d63443793dd011e7dc9a05455a734e6f607d55a657addbedc41ba82933601a9
MD5 12ea34d818124182010a3c9928f51f08
BLAKE2b-256 e1810f61295d78c060189300aba2d6bb97d471afad082011b18e941de4f68099

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page