Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic

Re: REST::Google::Search, help needed

by olus (Curate)
on Mar 23, 2009 at 20:31 UTC ( #752710=note: print w/replies, xml ) Need Help??

in reply to REST::Google::Search, help needed

I installed the module and went looking into the documentation, and somewhere it says

Please refer to 'Google Search AJAX API' documentation for complete list of arguments for Google Search.

There I found that there is the rsz argument

This optional argument supplies the number of results that the application would like to receive. A value of small indicates a small result set size or 4 results. A value of large indicates a large result set or 8 results. If this argument is not supplied, a value of small is assumed.
If you read it, you'll also find key=your-key

my $res = REST::Google::Search->new( q => 'Larry Wall', rsz => 'large', # get 8 results per request );

Replies are listed 'Best First'.
Re^2: REST::Google::Search, help needed
by downer (Monk) on Mar 23, 2009 at 20:51 UTC
    that helps, thanks. Is there now a way to see the 2nd, 3rd, ... set of pages?

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://752710]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (4)
As of 2022-09-29 09:14 GMT
Find Nodes?
    Voting Booth?
    I prefer my indexes to start at:

    Results (125 votes). Check out past polls.