Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • BackTrack 5 R2
  • Wine 1.4 / 1.5.5
  • Mozilla Firefox 12...
  • Ubuntu 11.04
  • Angry Birds 1.1.2.1
  • Ubuntu 10.04.4 LTS
  • Linux Kernel 3.4
  • Ubuntu Manual 10.10
  • Adobe Flash Player...
  • Pidgin 2.10.4
  • Home > Linux > Programming > Perl Modules

    IPsonar 0.23

    Download button

    No screenshots available
    Downloads: 182  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    George Budd | More programs
    Perl Artistic License / FREE
    February 12th, 2012, 18:48 GMT
    ROOT / Programming / Perl Modules

     Read user reviews (0)  Refer to a friend  Subscribe

    IPsonar description

    Wrapper to interact with the Lumeta IPsonar API

    IPsonar is a Perl module that wraps the IPsonar RESTful API. It handles the paging and https stuff so you can concentrate on extracting information from reports.

    Code snippet.

     my $rsn = IPsonar->new('rsn_address_or_name','username','password');
     my $test_report = 23;
     my @ip_list;

     my $results = $rsn->query('detail.devices',
     {
     'q.f.report.id' => $test_report,
     'q.f.servicediscovery.ports' => 23,
     }) or die "Problem ".$rsn->error;

     while (my $x = $rsn->next_result) {
     push @ip_list,$x->{ip};
     }



    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    RESTful API | Perl module | Perl | RESTful | API



    HTML code for linking to this page:


    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

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