Aug-18-2017, 07:24 PM
Hi,
I too have spent many hours struggling with API's. You may conclude that there is no rhyme or reason to how they work...... (ok there probably is but...)
If you look at the "header" for "r" then this may work for you. Try adding this line after the requests.get call.
Let me know if this does not work or if you have difficulties with the next stage of the script.
Good Luck
Bass
I too have spent many hours struggling with API's. You may conclude that there is no rhyme or reason to how they work...... (ok there probably is but...)
If you look at the "header" for "r" then this may work for you. Try adding this line after the requests.get call.
r = r.headersThe value of "r" should give you the response from the API call.
Let me know if this does not work or if you have difficulties with the next stage of the script.
Good Luck
Bass
"The good thing about standards is that you have so many to choose from" Andy S. Tanenbaum