[Tutor] DEALING WITH API

Gaurav Lathwal glathwal at gmail.com
Fri Aug 7 11:14:11 CEST 2015


Hello everyone. :))

This time I am trying to fetch the required data using the API of the
website.
But, the problem I am having is I don't know how to make the request
properly.
When I enter the required URL in my browser, it downloads a .tgz which
includes all the updates that have taken place on the website in the last
24 hours.
So, when I use urlopen on the same url, & I try to read it, all I get is
gibberish.

Any help, please ?
If I am unable to solve this problem, I am quitting programming, I have had
enough bad experiences. :\ :\


More information about the Tutor mailing list