An open API service indexing awesome lists of open source software.

https://github.com/dnmfarrell/app-wu

Terminal app that provides an hourly weather forecast using Weather Underground API
https://github.com/dnmfarrell/app-wu

Last synced: 10 months ago
JSON representation

Terminal app that provides an hourly weather forecast using Weather Underground API

Awesome Lists containing this project

README

          

=pod

=encoding UTF-8

=head1 NAME

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

=head1 VERSION

version 0.06

=head1 SYNOPSIS

This module installs the C 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 C. Optionally you can set the environment variable C which sets the default location for C.

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

=head1 WARNING

The free Weather Underground API service is being L. This module will be moved to the BackPAN.

=head1 BUGS

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

=head1 SEE ALSO

=over

=item *

L - the fabulous module that powers this app!

=item *

My Perl.com L about this script

=back

=head1 THANKS

Thanks to John Lifsey for writing L

=head1 AUTHOR

David Farrell

=head1 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.

=cut