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.