NAME
App::wu - Terminal app that provides an hourly weather forecast using Weather Underground API
VERSION
version 0.01
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 city or zip / postal code (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 unicode output.
SEE ALSO
WWW::Wunderground::API - the fabulous module that powers this app!
My PerlTricks.com article about this script
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.