Why not adopt me?This distribution is up for adoption! If you're interested then please contact the PAUSE module admins via email.
- SEE ALSO
Weather::OpenWeatherMap::Result::Forecast::Block - A Role for weather forecast items
# A Role providing attributes/methods for objects produced by a # Weather::OpenWeatherMap::Result::Forecast, one of: # Weather::OpenWeatherMap::Result::Forecast::Day # Weather::OpenWeatherMap::Result::Forecast::Hour
This role provides methods and attributes for classes implementing a Weather::OpenWeatherMap weather forecast for a block of time, such as Weather::OpenWeatherMap::Result::Forecast::Day & Weather::OpenWeatherMap::Result::Forecast::Hour.
The forecast cloud coverage as a percentage.
The conditions category.
The conditions description string.
The OpenWeatherMap conditions code.
The OpenWeatherMap conditions icon.
my $date = $result->dt->mdy;
A DateTime object coerced from the timestamp (in UTC) attached to this forecast.
The forecast humidity as a percentage.
The forecast atmospheric pressure in hPa.
The forecast wind speed in MPH.
The forecast wind speed in KPH.
The forecast wind direction as a (inter-)cardinal direction in the set
[ N NNE NE ENE E ESE SE SSE S SSW SW WSW W WNW NW NNW ]
The forecast wind direction in degrees azimuth.
Jon Portnoy <email@example.com>