Geo-Weather

 view release on metacpan or  search on metacpan

HISTORY  view on Meta::CPAN


0.07 Converted to LWP::UserAgent to fix socket problems. Be sure to use a recent libwww-perl so timeout
     code works correctly.

0.08 Added proxy authentication support.

0.09 Changed end of report marker because of more weather.com changes

1.0  Fixed agent string to contain latest version number. Added heat index to report(). Cleaned up documentation.

1.1  More weather.com changes. Added dependancy on LWP::UserAgent. Added new error code when weather.com is too busy to handle requests.

1.1.1 Suport for celcius, fixes.

1.2 More weather.com changes, added report_raw function. Current as of 2002-12-05 thanks to Kevin L. Papendick

1.2.1 More weather.com changes. Current as of 2003-01-17 thanks to Kevin L. Papendick again :)

1.2.2 Update for cities with negative dew points

1.3 Change request URL -klp

README  view on Meta::CPAN


        Errors

                On error, it returns one of the following exported error variables

                $ERROR_QUERY            - Invalid data supplied
                $ERROR_PAGE_INVALID     - No URL, or incorrectly formatted URL for retrieving the information
                $ERROR_CONNECT          - Error connecting to weather.com
                $ERROR_NOT_FOUND        - Weather for the specified city/state or zip could not be found
                $ERROR_TIMEOUT          - Timed out while trying to connect or get data from weather.com
                $ERROR_BUSY             - weather.com is too busy to handle requests and is in Severe Weather Alert Mode

    * report
        Returns an HTML table containing the current weather. Must call
        get_weather first.

        Sample Code

                print $weather->report();

    * lookup



( run in 0.317 second using v1.01-cache-2.11-cpan-87723dcf8b7 )