Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

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?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://752710]
help
Chatterbox?
and God said, "Let Newton be!"...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (6)
As of 2017-01-22 13:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you watch meteor showers?




    Results (187 votes). Check out past polls.