Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

getting number of results from google in perl program [closed]

Tags:

perl

api

Is there an API for google that I can use in my Perl program so that it returns number of results found for a search term?

Whenever a search is done on google, on the far right, it has a number of results it found and the time it took. I would just like to get this information.

like image 833
Omnipresent Avatar asked Mar 23 '09 04:03

Omnipresent


1 Answers

Google deprecated their SOAP API a couple years ago. Try using REST::Google::Search or Google::Search, which use their AJAX API instead. I haven't had occasion to try either module myself, so I'm not sure which one is better.

like image 71
cjm Avatar answered Nov 11 '22 19:11

cjm