WWW::Search::Google.3pm

Langue: en

Version: 2003-01-20 (ubuntu - 07/07/09)

Section: 3 (Bibliothèques de fonctions)

NAME

WWW::Search::Google - search Google via SOAP

SYNOPSIS

   use WWW::Search;
   my $search = WWW::Search->new('Google', key => $key);
   $search->native_query("leon brocard");
   while (my $result = $search->next_result()) {
     print $result->title, "\n";
     print $result->url, "\n";
     print $result->description, "\n";
     print "\n";
   }
 
 

DESCRIPTION

This class is a Google specialization of WWW::Search. It handles searching Google http://www.google.com/ using its new SOAP API http://www.google.com/apis/.

All interaction should be done through WWW::Search objects.

Note that you must register for a Google Web API account and have a valid Google API license key before using this module.

This module reports errors via croak().

This module now lets Net::Google do all the dirty work.

AUTHOR

Leon Brocard <acme@astray.com> Copyright (C) 2002, Leon Brocard

This module is free software; you can redistribute it or modify it under the same terms as Perl itself.