<commit_before>#!/usr/bin/python

import csv, requests, time
from pprint import pprint

#############################
###### EDIT THIS STUFF ######
#############################

access_token = '<<PASSWORD>>' # your access token
modules_csv = 'modules.csv' # name of file storing module names
log_file = 'log.txt' # a log file. it will log things
baseUrl = 'myschool.instructure.com' # domain of your Canvas account
header = {'Authorization' : 'Bearer ' + access_token}
payload = {}

##############################################################################
## ONLY update the code below if you are experimenting with other API calls ##<commit_msg>Updating account URL to include correct path for API<commit_after>#!/usr/bin/python

import csv, requests, time
from pprint import pprint

#############################
###### EDIT THIS STUFF ######
#############################

access_token = '<<PASSWORD>>' # your access token
modules_csv = 'modules.csv' # name of file storing module names
log_file = 'log.txt' # a log file. it will log things
baseUrl = 'https://myschool.instructure.com/api/v1/courses/' # change to domain of your Canvas account
header = {'Authorization' : 'Bearer ' + access_token}
payload = {}

##############################################################################
## ONLY update the code below if you are experimenting with other API calls ##
{'fraction_non_alphanumeric': 0.29369108049311093, 'fraction_numerical': 0.0007251631617113851, 'mean_word_length': 5.934673366834171, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 1, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7656120', 'n_tokens_mistral': 370, 'n_tokens_neox': 347, 'n_words': 128}