Tsukasa Hamano > WWW-Hanako > WWW::Hanako

Download:
WWW-Hanako-0.05.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
View/Report Bugs
Module Version: 0.05   Source  

NAME ^

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

SYNOPSIS ^

  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 ^

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

METHODS ^

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 ^

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

AUTHOR ^

Tsukasa Hamano, <hamano@klab.org>

COPYRIGHT AND LICENSE ^

Copyright (C) 2009 by Tsukasa Hamano

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.10.0 or, at your option, any later version of Perl 5 you may have available.

syntax highlighting: