Weather::TWFetch Taiwan weather data from http://www.cwb.gov.tw/ | |
Download |
Weather::TW Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Publisher Name:
- dryman
- Publisher web site:
- http://search.cpan.org/~dryman/
Weather::TW Tags
Weather::TW Description
Fetch Taiwan weather data from http://www.cwb.gov.tw/ Weather::TW is a Perl module to parse data from http://www.cwb.gov.tw/ (中央氣象局), and generate XML/JSON/hash/YAML data.SYNOPSIS use Weather::TW; my $weather = Weather::TW->new; my $xml = $weather->area('Taipei')->xml; my $json = $weather->json; my $yaml = $weather->yaml; my %hash = $weather->hash; foreach my $area ($weather->area_en){ my $xml = $weather->area($area)->xml print $xml; } use utf8; $xml = $weather->area('台北')->xml; # Chinese also works! Requirements: · Perl
Weather::TW Related Software