using google search api for python

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Gerardo Herzig

    #1

    using google search api for python

    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
  • Larry Bates

    #2
    Re: using google search api for python

    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

    Comment

    • Maric Michaud

      #3
      Re: using google search api for python

      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.

      Comment

      Working...