Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.3 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67a
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Programming > Perl Modules

    WebService::PublicViewpoints 0.01

    Download button

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

    License / Price:

    Last Updated:

    Category:
    Kang-min Liu | More programs
    MIT/X Consortium Lic... / FREE
    October 17th, 2009, 14:24 GMT
    ROOT / Programming / Perl Modules

     Read user reviews (0)  Refer to a friend  Subscribe

    WebService::PublicViewpoints description

    The Perl API to access the public-viewpoints geo-webservice

    WebService::PublicViewpoints is a Perl module to access the public-viewpoints geo-webservice available at http://public-viewpoints.appspot.com. Each viewpoint is basically a camera shoting at something.

    To use it, invoke its `find` class method with constraints:

     my @points = WebService::PublicViewpoints->find(num => 10, country => "JP");

    The possibile constraint key-values are:

    * num: At least 1, the maximum number of results.
    * random: "true" or "false".
    * latitude, longitude: The viewpoints around this location are wanted.
    * country_code: UK, US, JP, DE, FR.. etc.
    * city: The city name, like "Miami".

    The find method returns a list of point objects, so you catch them in an array. Each point object has these attributes:

    * url: The URL of camera image.
    * country_code: UK, US, JP, DE, FR.. etc.
    * country: The name of the associated country_code.
    * state: The state abbrevation for US.
    * city: The city name.
    * lat: The latitude of this camera image.
    * lng: The longitude of this camera image.

    The detail of the feasible contry/city values are unknown due to the lack of documentation of the origianl application site.

    This work is a based on the work of public-viewpoints service at http://public-viewpoints.appspot.com

    SYNOPSIS

     use WebService::PublicViewpoints;

     my @points = WebService::PublicViewpoints->find(num => 10, country => "JP");

     for (@points) {
     say $->lat, $_->lng, $_->url;
     }



    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    public viewpoints | geo webservice | Perl API | public | viewpoints | webservice

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

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