Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
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 );


Comment on Re: REST::Google::Search, help needed
Select or Download Code
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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (8)
As of 2015-07-06 22:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (84 votes), past polls