App::wu - Terminal app that provides an hourly weather forecast using Weather Underground API
version 0.06
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
...
The free Weather Underground API service is being discontinued. This module will be moved to the BackPAN.
Windows PowerShell and cmd.exe both corrupt the Fareinheit and Celsius degrees symbols, but other than that work fine.
WWW::Wunderground::API - the fabulous module that powers this app!
My Perl.com article about this script
Thanks to John Lifsey for writing WWW::Wunderground::API
David Farrell <dfarrell@cpan.org>
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.