By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
444,050 Members | 1,020 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 444,050 IT Pros & Developers. It's quick & easy.

using google search api for python

P: n/a
Hi all. Im looking for the pyGoogle for making google searchs y a python
script. The thing is, all im founding is an AJAX api, but the
application ill use is NOT a web app. So, someone know if there is a
pure python api that i can download and use?

Thanks!
Gerardo
May 22 '07 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Gerardo Herzig wrote:
Hi all. Im looking for the pyGoogle for making google searchs y a python
script. The thing is, all im founding is an AJAX api, but the
application ill use is NOT a web app. So, someone know if there is a
pure python api that i can download and use?

Thanks!
Gerardo
The server (Google) on the other end doesn't know what type of app you
are. It just responds to XMLRPC requests. I haven't used the interface
but I'm guessing that I would use Twisted to make XMLRPC request to Google
and process the response XML payload using Elementree.

-Larry
May 22 '07 #2

P: n/a
Larry Bates a écrit :
Gerardo Herzig wrote:
>Hi all. Im looking for the pyGoogle for making google searchs y a python
script. The thing is, all im founding is an AJAX api, but the
application ill use is NOT a web app. So, someone know if there is a
pure python api that i can download and use?

Thanks!
Gerardo

The server (Google) on the other end doesn't know what type of app you
are. It just responds to XMLRPC requests. I haven't used the interface
but I'm guessing that I would use Twisted to make XMLRPC request to Google
and process the response XML payload using Elementree.
Yes, you could if you have time... or you can just use the
straightforward xmlrpclib which is in stdlib. I used it with Zope and it
just works fine.

just try :

import xmlrpclib

help(xmlrpclib)

Larry, excuse for the private mail.
May 23 '07 #3

This discussion thread is closed

Replies have been disabled for this discussion.