• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

eg/H31-Mar-2002-1511

lib/WWW/Baseball/H31-Mar-2002-19287

t/H03-May-2022-12994

ChangesH A D31-Mar-2002311 139

MANIFESTH A D31-Mar-2002211 1514

Makefile.PLH A D30-Mar-2002222 109

READMEH A D31-Mar-20021.2 KiB4130

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