NAME

WWW::GoKGS::Scraper::TournEntrants - KGS Tournament Entrants

SYNOPSIS

use WWW::GoKGS::Scraper::TournEntrants;

my $tourn_entrants = WWW::GoKGS::Scraper::TournEntrants->new;

my $result = $tourn_entrants->query(
    id   => 762,
    sort => 's',
);
# => {
#     name => 'KGS Meijin Qualifier October 2012',
#     entrants => [
#         {
#             name => 'foo',
#             rank => '2k',
#             standing => 'Winner',
#             ...
#         },
#         ...
#     ],
#     links => {
#        ...
#     },
# }

DESCRIPTION

ATTRIBUTES

$URI = $tourn_entrants->base_uri

Defaluts to http://www.gokgs.com/tournEntrants.jsp. This attribute is read-only.

$UserAgent = $tourn_entrants->user_agent
$tourn_entrants->user_agent( LWP::UserAgent->new(...) )

Can be used to get or set an LWP::UserAgent object which is used to GET the requested resource. Defaults to the LWP::UserAgent object shared by Web::Scraper users ($Web::Scraper::UserAgent).

METHODS

$tourn_entrants->scrape
$tourn_entrants->query

SEE ALSO

WWW::GoKGS

AUTHOR

Ryo Anazawa (anazawa@cpan.org)

LICENSE

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