Getting the AJAX API to resemble organic search

Discussion in 'Google API' started by Sadu, Feb 18, 2007.

  1. #1
    I have been using the SOAP API for a while for checking and graphing search results over time.

    I'm reluctant to spend too much more time on this however. I'm wanting to share my code, but with SOAP no longer supported, it's not going to spread well. Besides from that, I half expect Google to pull the plug completely on the SOAP API sometime in the future, so I would rather be ready for that and make the change now.

    So I had a quick look at the AJAX API. So far, I'm pretty unimpressed.

    All I want is a script to check the first 5 pages of Google for my URL and record the position in a database. All I need from the API is to collect the first 50 Google results in HTML format. I can then put in the spade work to send the output to the web server, parse the HTML and then store the result in the database.

    But looking at the sample code, it only brings up 8 organic web results, and if I press "more" it takes me to a regular Google search page.

    Is this seriously how this thing is supposed to work? I really do hope I'm missing something here...

    I's not so much an API as it is a premade script...
     
    Sadu, Feb 18, 2007 IP