requests lives here https://github.com/kennethreitz/requests. in w2p_series is included merely in order to have no dependancies to download before installing the app. Now that I'm checking it, the version included in w2p_tvseries is old (0.14.2), last stable requests version is instead 1.1.0
On Wednesday, February 13, 2013 7:16:02 PM UTC+1, at wrote: > > > thanks for the reply and info. > nice to know that you were one of the contributers of urllib3 development. > > can you help me understanding what is the differnce between Requests > source available at http://docs.python-requests.org/en/latest/index.htmland @ > https://github.com/niphlod/w2p_tvseries/tree/master/modules? > > regards > > On Wednesday, 13 February 2013 18:14:20 UTC+5, Niphlod wrote: >> >> urllib and urllib2 are not "web2py" code, they are modules included in >> the standard distribution. >> both httplib2 and requests are widely used, I'm leaning towards the >> requests library because it's derived from urllib3 which I contributed some >> code a while back, and I like the api design by Kennet (and he's one hell >> of a coder ). Given that are widely used and the source code is available >> I'd bet they are perfectly "secure" >> >> On Wednesday, February 13, 2013 12:54:02 PM UTC+1, at wrote: >>> >>> Thank you Niphlod. >>> >>> BTW how would you compare web2py standard urllib, urllib2 with *Requests >>> * <http://docs.python-requests.org/en/latest/index.html> or *httplb2*in >>> terms security and >>> <http://code.google.com/p/httplib2/>reliability? >>> >>> On Wednesday, 13 February 2013 15:17:26 UTC+5, Niphlod wrote: >>>> >>>> I use requests all the time. It's included as a library in >>>> https://github.com/niphlod/w2p_tvseries/tree/master/modules. If you >>>> want to check it in the modules folder there's plenty of examples on how >>>> to >>>> interact with external services (most of them returns xml, but a few are >>>> jsonrpc ... but you'll get the idea). >>>> >>>> >>>> On Wednesday, February 13, 2013 9:00:55 AM UTC+1, at wrote: >>>>> >>>>> >>>>> Thanks, I am trying it now. >>>>> >>>>> What about using external libs like >>>>> *Requests*<http://docs.python-requests.org/en/latest/index.html>or >>>>> *httplb2*? <http://code.google.com/p/httplib2/> I think they make the >>>>> life easier, but not sure how mature these libraries are and how secure >>>>> is >>>>> using them? >>>>> >>>>> Regards >>>>> >>>>> On Tuesday, 12 February 2013 19:38:29 UTC+5, tomasz bandura wrote: >>>>>> >>>>>> Did you read >>>>>> http://web2py.com/books/default/chapter/29/14#Twitter-API? >>>>>> >>>>>> It is an example of Twitter RESTful+ json. >>>>>> >>>>>> T. >>>>>> >>>>>> >>>>>> 2013/2/12 at <mati...@gmail.com> >>>>>> >>>>>>> >>>>>>> Want to call a web service from a web2py application. The service >>>>>>> supports get/posts methos for taking input and gives response in json. >>>>>>> >>>>>>> Can someboday help me out? >>>>>>> >>>>>>> Thanks & Regards, >>>>>>> AT >>>>>>> >>>>>>> -- >>>>>>> >>>>>>> --- >>>>>>> You received this message because you are subscribed to the Google >>>>>>> Groups "web2py-users" group. >>>>>>> To unsubscribe from this group and stop receiving emails from it, >>>>>>> send an email to web2py+un...@googlegroups.com. >>>>>>> For more options, visit https://groups.google.com/groups/opt_out. >>>>>>> >>>>>>> >>>>>>> >>>>>> >>>>>> -- --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.