using google search api for python

G

Gerardo Herzig

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
 
L

Larry Bates

Gerardo said:
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
 
M

Maric Michaud

Larry Bates a écrit :
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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,680
Members
48,796
Latest member
Greg L.

Latest Threads

Top