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.02

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
    Enter your location (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.

SEE ALSO

THANKS

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

AUTHOR

David Farrell <sillymoos@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2014 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.