Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
WWW::Baseball::NPB(3) User Contributed Perl DocumentationWWW::Baseball::NPB(3)

NAME
       WWW::Baseball::NPB - Fetches Japanese baseball games information

SYNOPSIS
	 use WWW::Baseball::NPB;

	 my $baseball =	WWW::Baseball::NPB->new;
	 my @games  = $baseball->games;
	 # or @games = $baseball->games('central');

	 for my	$game (@games) {
	     my	$home	 = $game->home;
	     my	$visitor = $game->visitor;
	     printf "%s	%d - %d	%s (%s)	[%s]\n",
		 $home,	$game->score($home), $game->score($visitor), $visitor,
		 $game->status,	$game->stadium;
	 }

DESCRIPTION
       WWW::Baseball::NPB provides you a way to	fetch and extract Japanese
       baseball	games information via Yahoo! Baseball. (NPB = Nippon
       Professional Baseball)

NOTE
       o   Characters like team	names, status and stadium are encoded in EUC-
	   JP. You can convert them to any encoding via	Jcode.

TODO
       o   Separate out	Yahoo! Baseball	parsing	logic, using information
	   provider architecture (e.g. WWW::Baseball::NPB::Provider::*)

AUTHOR
       Tatsuhiko Miyagawa <miyagawa@bulknews.net>

       This library is free software; you can redistribute it and/or modify it
       under the same terms as Perl itself.

SEE ALSO
       LWP::Simple

perl v5.32.0			  2002-03-31		 WWW::Baseball::NPB(3)

NAME | SYNOPSIS | DESCRIPTION | NOTE | TODO | AUTHOR | SEE ALSO

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=WWW::Baseball::NPB&sektion=3&manpath=FreeBSD+12.1-RELEASE+and+Ports>

home | help