WWW::BF2PlayerWWW::BF2Player is a Perl module that can fetch information about game servers from BF2Player.com | |
Download |
WWW::BF2Player Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Price:
- FREE
- Publisher Name:
- Dusty Wilson
- Publisher web site:
- http://search.cpan.org/~wilsond/
WWW::BF2Player Tags
WWW::BF2Player Description
WWW::BF2Player is a Perl module that can fetch information about game servers from BF2Player.com WWW::BF2Player is a Perl module that can fetch information about game servers from BF2Player.comSYNOPSIS # example 1 use WWW::BF2Player; my $bfp = WWW::BF2Player->new; # omitted UserId, must set it per-request my $player = $bfp->getPlayer( UserId => '5307', PlayerId => '64246757' ); # userId specified per-request # example 2 use WWW::BF2Player; my $bfp = WWW::BF2Player->new( UserId => '5307' ); # set a default UserId, can omit UserId per-request my $player = $bfp->getPlayer( PlayerId => '64246757' ); # use the default UserIdFirst, you must have an account (free) at BF2Player.com to make use of this module. Second, you must create and populate a buddy list on their site. You can only use this module to ask for information about players in your buddy list. This is a restriction on their part to prevent you from asking information for too many players. I guess to prevent you from competing and wasting their resources. Understandable, I suppose.new my $gm = WWW::BF2Player->new; # no options or defaults specified my $gm = WWW::BF2Player->new( UserId => '5307' ); # default to a certain UserIdYou can specify several options in the constructor. my $gm = WWW::BF2Player->new( Expires => 300, UserId => '5307', CacheFile => 'my_player_cache.xml', DebugLog => 'my_debug_log.txt', DebugLevel => 3, ); Requirements: · Perl
WWW::BF2Player Related Software