Weather::Com::Base is a Perl module that provides low level OO interface to gather all weather information that is provided by weather.com.

This module should not be used directly because of the business rules applying if one want's to use the weather.com's xoap interface. These business rules enforce you to implement several caching rules.

Therefore, if you want to use a low level interface, please use Weather::Com::Cached instead. It has the same interface as this module but it implements all caching rules of weather.com.

The constructor takes a hash or a hashref containing a bunch of parameters used to configure your weather search. None of these paramters is mandatory. As there are reasonable defaults for any of them, you need only to provide those parameters where you whish to go with non-default values.

At weather.com you have to request weather data for a specific location. Therefor you first have to find the location id for the location you are looking for. weather.com provides two possibilities to search:

Date and time when the weather data has been reported. Format is 8/16/04 6:10 AM EDT. In some cases (e.g. for Heidelberg in Germany) there may be no official timezone identifier but the keyword Local or Local Time.

The hashref lnks contains some links to other weather information that may be interesting for the chosen location. This will not be explained in further detail here. Just play around with the sample...

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

The data provided by weather.com and made accessible by this OO interface can be used for free under special terms. Please have a look at the application programming guide of weather.com (http://www.weather.com/services/xmloap.html)!