Link to home
Start Free TrialLog in
Avatar of Yurich
YurichFlag for New Zealand

asked on

How to programmatically search google and process results?

Hello,
I'm trying to do the following:

Send a request to google search, passing search parameters, like

http://www.google.co.nz/search?hl=en&q=search+terms&btnG=Search

Then get the result and process each result record by record.

I understand that there was Development Kit on Google, but first, I can't find anymore, and then I found some references that Google is not supporting it any more. The class name was: GoogleSearchService

I understand that I can look at http://google.com/apis and I have, but there're way too many apis and their description is not precise, so I'm not sure which one I can use.

Would appreciate your help,
Yurich
Avatar of Peter Hart
Peter Hart
Flag of United Kingdom of Great Britain and Northern Ireland image

I started at this point:
http://code.google.com/apis/codesearch/
Avatar of Yurich

ASKER

Thank you,

I've seen that page as well, but description they give on the page:

The Google Code Search data API allows client and web applications to search public source code for function definitions and sample code.

is absolutely NOT what I'm after or what I asked in this question. I don't need to search for function definitions, I need to perform google search. Unless I misunderstand something of course.

Regards,
Yurich

SOLUTION
Avatar of Peter Hart
Peter Hart
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Yurich

ASKER

Thank you guys,

2 eric: I've seen your article, this link doesn't work :( http://www.google.com/apis/download.html - I think I've seen this link before, that's why I mentioned that I can't find it...

2 chilltern: It's a nice piece of code, but I can't use it as is :( I need a library from Google and apparently I can't find where to get it from... They offer to modify the code on the page and try it again, but the code is actually read-only, so don't see the point in that...

What I want to do is something like this:
http://www.shoemoney.com:80/serps.php

I found about 20 programs like that but they ALL are not accurate :( for some reason, so I wondered if I could do something similar - it can't be THAT difficult :|

Still need some help,
Regards,
Yurich
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Yurich

ASKER

Thank you guys, it is actually more complex than I expected at the beginning, so I just used whatever tools I could find online.

Cheers,
Yurich
Avatar of MikeEast
MikeEast

I tried to do somthing like this and used plain old screen scraping on the normal SERP.

They locked me out after about 500 requests, so that's not possible either. Just so you know.