WWW::Hanako - Perl interface for Hanako(Pollen observation system at Japan)


WWW-Hanako documentation  | view source Contained in the WWW-Hanako distribution.

Index


NAME

Top

WWW::Hanako - Perl interface for Hanako(Pollen observation system at Japan)

SYNOPSIS

Top

  use WWW::Hanako;
  my $hanako = WWW::Hanako->new(area=>3, mst=>51300200);
  my $now = $hanako->now();
  print "hour: $now->{hour}\n";
  print "pollen: $now->{pollen}\n";
  print "wind direction: $now->{wd}\n";
  print "wind speed: $now->{ws}\n";

return hash object contains:

hour

observation time(hour).

pollen

amount of airborne pollen(num/m^3).

wd

wind direction.

ws

wind speed(m/s).

temp

air temperature(degrees Celsius).

prec

amount of precipitation(mm).

DESCRIPTION

Top

This perl module provides an interface to the Hanako that is Pollen observation system at Japan.

METHODS

Top

new

Create new instance of WWW::Hanako. set area code and mst code.

today

Method that returns the today's information.

now

Method that returns the current information.

SEE ALSO

Top

See http://kafun.taiki.go.jp/ for more information on Hanako

AUTHOR

Top

Tsukasa Hamano, <hamano@klab.org>

COPYRIGHT AND LICENSE

Top


WWW-Hanako documentation  | view source Contained in the WWW-Hanako distribution.