The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

App::wu - Terminal app that provides an hourly weather forecast using Weather Underground API

VERSION

version 0.05

SYNOPSIS

This module installs the wu command which prints a 36 hour weather forecast at the command line using the Wunderground API. You'll need to get a Wunderground API key (they're free) and set the environment variable WU_API_KEY. Optionally you can set the environment variable WU_HOME_LOCATION which sets the default location for wu.

    $ wu London, UK
    Retrieving weather forecast for London, UK ...

    Time      ℉   ℃   Rain %  Conditions
     2:00 AM  56  13       5  Clear
     3:00 AM  55  13       6  Partly Cloudy
     4:00 AM  55  13       6  Partly Cloudy
     5:00 AM  54  12       6  Partly Cloudy
     6:00 AM  54  12       7  Partly Cloudy
     7:00 AM  55  13       7  Partly Cloudy
    ...

BUGS

Windows PowerShell and cmd.exe both corrupt the Fareinheit and Celsius degrees symbols, but other than that work fine.

SEE ALSO

THANKS

Thanks to John Lifsey for writing WWW::Wunderground::API

AUTHOR

David Farrell <dfarrell@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2015 by David Farrell.

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