Weather::MOSMIX::Weathercodes - weather codes for MOSMIX data
use Weather::MOSMIX::Weathercodes 'mosmix_weathercode'; print mosmix_weathercode('01')->{text}; # sunny print mosmix_weathercode('01')->{emoji}; # \N{SUN} emoji
mosmix_weathercode
my $c = mosmix_weathercode('01');
This function returns a reference to a hash of items representing a weather code. The hash keys are:
Emoji representing this weather code
SVG filename representing this weather code, taken from the Tempestacons
English text description as provided by DWD
https://www.dwd.de/DE/leistungen/opendata/help/schluessel_datenformate/kml/mosmix_element_weather_xls.html
Tempestacons
The public repository of this module is https://github.com/Corion/weather-mosmix.
The public support forum of this module is https://perlmonks.org/.
Please report bugs in this module via the RT CPAN bug queue at https://rt.cpan.org/Public/Dist/Display.html?Name=Weather-MOSMIX or via mail to www-Weather-MOSMIX@rt.cpan.org.
Max Maischein corion@cpan.org
corion@cpan.org
Copyright 2019-2020 by Max Maischein corion@cpan.org.
This module is released under the same terms as Perl itself.
To install Weather::MOSMIX, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Weather::MOSMIX
CPAN shell
perl -MCPAN -e shell install Weather::MOSMIX
For more information on module installation, please visit the detailed CPAN module installation guide.