NAME
Weather::Yr::LocationForecast - Object-oriented interface to Yr.no's "location forecast" API.
DESCRIPTION
Don't use this class directly. Instead, access it from the Weather::Yr class.
METHODS
url
Returns the URL for Yr.no's location forecast service.
datapoints
Returns an array reference of Weather::Yr::LocationForecast::DataPoint instances.
days
Returns an array reference of Weather::Yr::LocationForecast::Day instances.
now
Returns a Weather::Yr::LocationForecast::Day instance, representing the closest forecast in time.
today
Returns a Weather::Yr::LocationForecast::Day instance, representing today's weather.
tomorrow
Returns a Weather::Yr::LocationForecast::Day instance, representing tomorrow's weather.