Re: [Tutor] DEALING WITH API

2015-08-07 Thread Gaurav Lathwal
Thank you everyone for your help. I managed to make a somewhat working model of what I had in my mind. I will be sharing my code with you. Please tell me how to improve it. I think it could be done in much less number of lines. http://pastie.org/10336178 The first part which is handling the downl

Re: [Tutor] DEALING WITH API

2015-08-07 Thread Alan Gauld
On 07/08/15 10:14, Gaurav Lathwal wrote: This time I am trying to fetch the required data using the API of the website. Which website? Don;t assume we can remember from your previous post or that we will want to go trawling the archives. The easier you make it for us to answer the more likely

Re: [Tutor] DEALING WITH API

2015-08-07 Thread Joel Goldstick
On Fri, Aug 7, 2015 at 1:46 PM, Emile van Sebille wrote: > On 8/7/2015 2:14 AM, Gaurav Lathwal wrote: >> >> 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 >> properl

Re: [Tutor] DEALING WITH API

2015-08-07 Thread Emile van Sebille
On 8/7/2015 2:14 AM, Gaurav Lathwal wrote: 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 incl

[Tutor] DEALING WITH API

2015-08-07 Thread Gaurav Lathwal
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