SEARCH
NEW RPMS
DIRECTORIES
ABOUT
FAQ
VARIOUS
BLOG

 
 

perl-Yahoo-Weather rpm build for : OpenSuSE. For other distributions click perl-Yahoo-Weather.

Name : perl-Yahoo-Weather
Version : 0.04 Vendor : obs://build_opensuse_org/devel:languages:perl
Release : lp155.6.1 Date : 2023-07-20 15:35:48
Group : Development/Libraries/Perl Source RPM : perl-Yahoo-Weather-0.04-lp155.6.1.src.rpm
Size : 0.06 MB
Packager : https://www_suse_com/
Summary : Perl extension to Find Current Observation WEATHER and Two Day Forecast[cut]
Description :
Documentation for Yahoo::Weather. This module will get you Weather for 4.5
Million Locations (approx) but one at a time either by ZIPCODE or Place
Name.

Create an Object for Yahoo::Weather.

Yahoo::Weather->new();

Get Weather Details Based on Location Name

$obj->getWeatherByLocation($place);

Get Weather Details Based on Zip Code

$obj->getWeatherByLocation($zip);

Get Weather Details Based on Location Name in FAH

$obj->getWeatherByLocation($place,f);

Get Weather Details Based on Zip Code

$obj->getWeatherByLocation($zip,F);

Default is Cel and if you need it in FARENHEIT only pass \'f\' or \'F\' as last
parameter(second parameter) or else it defaults to Celsius.

getWeatherByLocation function needs either ZIPCODE or PLACENAME as mandate.
Second Parameter is Optional. In none specified it defaults to CENTIGRADE.

Get GEOGRAPHICAL Sugestions based Zip Code or Place Name

$obj->getSugestions($zip);
$obj->getSugestions($loc);

Above 2 functions gives you GEO Details based on either ZIP or PLACE NAME.

getSugestions function takes only one ARG.

ALL above mentioned methods gives you a HASHREF as return value unless some
thing goes wrong.

In case of exceptions, we get following

LOCATION_EMPTY = -1

INVALID_LOCATION = -2

INVALID_ZIP = -2

ZIP_EMPTY = -1

WEATHER_FORECAST_NOT_AVAILABLE = -3

INVALID_KEYWORD = -4 -For Getting Sugestions

SUGESTIONS_NOT_AVAILABLE = -4 For Getting Sugestions

RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/perl:/CPAN-Y/15.5/noarch

Content of RPM  Provides Requires

Download
ftp.icm.edu.pl  perl-Yahoo-Weather-0.04-lp155.6.1.noarch.rpm
     

Provides :
perl(Yahoo::Weather)
perl-Yahoo-Weather

Requires :
perl(:MODULE_COMPAT_5.26.1)
perl(LWP::Simple) >= 5.835
perl(Test::More) >= 0.86
perl(XML::Simple) >= 2.14
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(FileDigests) <= 4.6.0-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(PayloadIsXz) <= 5.2-1


Content of RPM :
/usr/lib/perl5/vendor_perl/5.26.1/Yahoo
/usr/lib/perl5/vendor_perl/5.26.1/Yahoo/Weather.pm
/usr/lib/perl5/vendor_perl/5.26.1/x86_64-linux-thread-multi
/usr/share/doc/packages/perl-Yahoo-Weather
/usr/share/doc/packages/perl-Yahoo-Weather/Changes
/usr/share/doc/packages/perl-Yahoo-Weather/README
/usr/share/man/man3/Yahoo::Weather.3pm.gz

 
ICM