WWW::GoKGS::Scraper::Top100 - Top 100 KGS Players
use WWW::GoKGS::Scraper::Top100; my $top_100 = WWW::GoKGS::Scraper::Top100->new; my $result = $top_100->query;
This class inherits from WWW::GoKGS::Scraper.
# => "http://www.gokgs.com/top100.jsp"
# => URI->new( "http://www.gokgs.com/top100.jsp" )
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).
GET
LWP::UserAgent
$Web::Scraper::UserAgent
Returns a hash reference which contains the top 100 KGS players. The hashref is formatted as follows:
{ players => [ { position => 1, name => 'foo', rank => '9d', uri => '/graphPage.jsp?user=foo' }, { position => 2, name => 'bar', rank => '9d', uri => '/graphPage.jsp?user=bar' }, ... { position => 100, name => 'baz', rank => '6d', uri => '/graphPage.jsp?user=baz' } ] }
WWW::GoKGS
Ryo Anazawa (anazawa@cpan.org)
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perlartistic.
To install WWW::GoKGS, copy and paste the appropriate command in to your terminal.
cpanm
cpanm WWW::GoKGS
CPAN shell
perl -MCPAN -e shell install WWW::GoKGS
For more information on module installation, please visit the detailed CPAN module installation guide.