-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathapiinfo.txt
More file actions
21 lines (14 loc) · 839 Bytes
/
apiinfo.txt
File metadata and controls
21 lines (14 loc) · 839 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
SETTING UP:
Before you get started, run these commands in Python:
'pip install canvasapi'
'pip install --upgrade google-api-python-client oauth2client'
For Google Tasks, the program will automatically ask for authentication, provided you have a 'credentials.json' file from Google API Console.
You can get a key here: https://developers.google.com/tasks/quickstart/python
(STOP AFTER STEP 2)
After placing 'credentials.json' into folder 'user' and installing both Google's auth client,
Head to your Canvas account settings and request an API key.
In Canvas:
-(Account -> Settings -> Approved Integrations -> New Access Token)
-Name the purpose 'Canvas-2-GTasks' (Any name works too)
-Copy your key and keep it handy
After getting your Google and Canvas credentials, run the program. Have the Canvas API key ready when prompted.