Created
February 1, 2018 16:34
-
-
Save bennettscience/67f22a7d2e782a6e7a2853b39641e1ab to your computer and use it in GitHub Desktop.
Playing with the Canvas LMS python API
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from canvasapi import Canvas | |
API_URL = 'https://my.url.com' | |
API_KEY = 'mySTringKEy123' | |
canvas = Canvas(API_URL, API_KEY) | |
outcome = canvas.get_outcome(5426) | |
class Rating: | |
description = "Exceeds Expectations" | |
points = 4 | |
outcome.update(Rating) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi Brian . I was following your conversation via a slack channel . Absolutely new to canvas api . Can you help me understand what is api_url and api_key and from where I can get these ? I have an account on canvas LMS .