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
import requests, json | |
from pprint import pprint | |
from urllib.request import Request, urlopen | |
import csv | |
import os | |
import timeit | |
def getInput(file): | |
'''Opens the file, produces list of lines in the file, removes the header row, and returns the list''' | |
inFile = open(file) |
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
#------------------------------------------------------------------------------- | |
# Name: canvas_api_demo.py | |
# | |
# Purpose: Sample Program to use Python 3.6 to make Canvas API calls | |
# | |
# Author: jdammeier | |
#------------------------------------------------------------------------------- | |
import requests, json | |
from pprint import pprint | |
from urllib.request import Request, urlopen |
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
#------------------------------------------------------------------------------- | |
# Name: canvas_api_demo.py | |
# Purpose: Sample Program to use Pyhton 3.6 to make Canvas API call | |
# | |
# Author: jdammeier | |
# | |
# Created: 9/24/2017 | |
# Copyright: (c) jdammeier 2017 | |
# Licence: <your licence> | |
#------------------------------------------------------------------------------- |