Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.6 / 3....
  • Linux Kernel 3.0.82 LTS...
  • KDE Software Compilatio...
  • PulseAudio 4.0
  • Wireshark 1.10.0
  • NetworkManager 0.9.8.2
  • LibreOffice 3.6.6 / 4.0...
  • SystemRescueCd 3.7.0
  • Linux Kernel 3.10 RC6
  • Ubuntu Tweak 0.8.5
  • Home > Linux > Programming > Perl Modules

    Net::Google 1.0

    Download button

    No screenshots available
    Downloads: 331  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Aaron Straup Cope | More programs
    Perl Artistic License / FREE
    November 21st, 2006, 06:05 GMT
    ROOT / Programming / Perl Modules

     Read user reviews (0)  Refer to a friend  Subscribe

    Net::Google description

    A simple OOP-ish interface to the Google SOAP API.

    Net::Google is a simple OOP-ish interface to the Google SOAP API.

    SYNOPSIS

    use Net::Google;
    use constant LOCAL_GOOGLE_KEY => "********************************";

    my $google = Net::Google->new(key=>LOCAL_GOOGLE_KEY);
    my $search = $google->search();

    # Search interface

    $search->query(qw(aaron straup cope));
    $search->lr(qw(en fr));
    $search->starts_at(5);
    $search->max_results(15);

    map { print $_->title()."n"; } @{$search->results()};

    # or...

    foreach my $r (@{$search->response()}) {
    print "Search time :".$r->searchTime()."n";

    # returns an array ref of Result objects
    # the same as the $search->results() method
    map { print $_->URL()."n"; } @{$r->resultElements()};
    }

    # Spelling interface

    print $google->spelling(phrase=>"muntreal qwebec")->suggest(),"n";

    # Cache interface

    my $cache = $google->cache(url=>"http://search.cpan.org/recent");
    print $cache->get();

    Provides a simple OOP-ish interface to the Google SOAP API


    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    OOP-ish interface | Google SOAP | Perl module | Net::Google | OOP-ish | interface

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM