This file contains hidden or 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
s3 = boto3.client('s3') | |
url = s3.generate_presigned_url('get_object', | |
Params = {'Bucket': 'buket-name', | |
'Key': 'file-name'}, | |
ExpiresIn = 100) |
This file contains hidden or 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 csv | |
from canvasapi import Canvas | |
CANVAS_API_URL = '' | |
CANVAS_TOKEN = '' | |
COURSE_ID = 9999 # int class id | |
def get_canvas_client(): |