AnsweredAssumed Answered

Making a Basic API Call with an Access Token

Question asked by Alex Haight on Sep 25, 2018
Latest reply on Sep 25, 2018 by Peter Love

Hi!

 

I'm having trouble making a very basic GET request with a user-generated access token. I'm using the python module "requests" to make my requests. My request looks like:  data=requests.get('https://clemson.instructure.com/api/v1/accounts?access_token= with my access token following.

When I print the results, however, using print(data.json()) all that prints is "[]".

 

Please let me know what I am doing wrong. 

Outcomes