NAME
WWW::Weather::Yahoo - Gets information from yahoo weather.
SYNOPSIS
use WWW::Weather::Yahoo;
my $yw = WWW::Weather::Yahoo->new( 'São Paulo, SP', 'c' );
print $yw->{ _weather }{location_city};
print $yw->{ _weather }{location_region};
print $yw->{ _weather }{location_country};
print $yw->{ _weather }{unit_temperature};
print $yw->{ _weather }{unit_distance};
print $yw->{ _weather }{unit_pressure};
print $yw->{ _weather }{unit_speed};
print $yw->{ _weather }{wind_chill};
print $yw->{ _weather }{wind_direction};
print $yw->{ _weather }{wind_speed};
print $yw->{ _weather }{atmosphere_humidity};
print $yw->{ _weather }{atmosphere_visibility};
print $yw->{ _weather }{atmosphere_pressure};
print $yw->{ _weather }{atmosphere_rising};
print $yw->{ _weather }{astronomy_sunrise};
print $yw->{ _weather }{astronomy_sunset};
print $yw->{ _weather }{location_lat};
print $yw->{ _weather }{location_lng};
print $yw->{ _weather }{condition_text};
print $yw->{ _weather }{condition_code};
print $yw->{ _weather }{condition_temp};
print $yw->{ _weather }{condition_date};
print $yw->{ _weather }{condition_img_src};
print $yw->{ _weather }{forecast_tomorrow_day};
print $yw->{ _weather }{forecast_tomorrow_date};
print $yw->{ _weather }{forecast_tomorrow_low};
print $yw->{ _weather }{forecast_tomorrow_high};
print $yw->{ _weather }{forecast_tomorrow_text};
print $yw->{ _weather }{forecast_tomorrow_code};
DESCRIPTION
WWW::Weather::Yahoo retrieves weather data from http://weather.yahoo.com.
Enter the city name and get weather data.
USAGE
use WWW::Weather::Yahoo;
my $yw = WWW::Weather::Yahoo->new( 'São Paulo, SP' , 'c' ); # c = celsius
my $yw = WWW::Weather::Yahoo->new( 'Miami, FL' , 'f' ); # f = farenheit
print $yw->{ _weather }{location_city};
print $yw->{ _weather }{location_region};
print $yw->{ _weather }{location_country};
print $yw->{ _weather }{unit_temperature};
print $yw->{ _weather }{unit_distance};
print $yw->{ _weather }{unit_pressure};
print $yw->{ _weather }{unit_speed};
print $yw->{ _weather }{wind_chill};
print $yw->{ _weather }{wind_direction};
print $yw->{ _weather }{wind_speed};
print $yw->{ _weather }{atmosphere_humidity};
print $yw->{ _weather }{atmosphere_visibility};
print $yw->{ _weather }{atmosphere_pressure};
print $yw->{ _weather }{atmosphere_rising};
print $yw->{ _weather }{astronomy_sunrise};
print $yw->{ _weather }{astronomy_sunset};
print $yw->{ _weather }{location_lat};
print $yw->{ _weather }{location_lng};
print $yw->{ _weather }{condition_text};
print $yw->{ _weather }{condition_code};
print $yw->{ _weather }{condition_temp};
print $yw->{ _weather }{condition_date};
print $yw->{ _weather }{condition_img_src};
print $yw->{ _weather }{forecast_tomorrow_day};
print $yw->{ _weather }{forecast_tomorrow_date};
print $yw->{ _weather }{forecast_tomorrow_low};
print $yw->{ _weather }{forecast_tomorrow_high};
print $yw->{ _weather }{forecast_tomorrow_text};
print $yw->{ _weather }{forecast_tomorrow_code};
BUGS
not any known
SUPPORT
@emailme
AUTHOR
Hernan Lopes
CPAN ID: HERNAN
HERNAN
hernanlopes@gmail.com
COPYRIGHT
This program is free software licensed under the...
The BSD License
The full text of the license can be found in the LICENSE file included with this module.
SEE ALSO
perl(1).
1 POD Error
The following errors were encountered while parsing the POD:
- Around line 163:
Non-ASCII character seen before =encoding in ''São'. Assuming UTF-8