README
1NAME
2 WWW::Baseball::NPB - Fetches Japanese baseball games information
3
4SYNOPSIS
5 use WWW::Baseball::NPB;
6
7 my $baseball = WWW::Baseball::NPB->new;
8 my @games = $baseball->games;
9 # or @games = $baseball->games('central');
10
11 for my $game (@games) {
12 my $home = $game->home;
13 my $visitor = $game->visitor;
14 printf "%s %d - %d %s (%s) [%s]\n",
15 $home, $game->score($home), $game->score($visitor), $visitor,
16 $game->status, $game->stadium;
17 }
18
19DESCRIPTION
20 WWW::Baseball::NPB provides you a way to fetch and extract Japanese
21 baseball games information via Yahoo! Baseball. (NPB = Nippon
22 Professional Baseball)
23
24NOTE
25 * Characters like team names, status and stadium are encoded in
26 EUC-JP. You can convert them to any encoding via Jcode.
27
28TODO
29 * Separate out Yahoo! Baseball parsing logic, using information
30 provider architecture (e.g. WWW::Baseball::NPB::Provider::*)
31
32AUTHOR
33 Tatsuhiko Miyagawa <miyagawa@bulknews.net>
34
35 This library is free software; you can redistribute it and/or modify it
36 under the same terms as Perl itself.
37
38SEE ALSO
39 the LWP::Simple manpage
40
41