NAME
Net::BF2S - Get Battlefield 2 Player Stats
SYNOPSIS
use Net::BF2S;
my $bf2 = Net::BF2S->new;
my $data = $bf2->getStats(45355493,64573414,64318788,64246757,62797217,61091442,64964638,64661842,65431962,58968459);
DESCRIPTION
Fetches Battlefield 2 player stats from BF2S.
You must use the PID (player ID) when requesting stats. If you try to request the player stats by player name, the module will ignore it. You can get the PID from many sources, including the BF2S.com website.
You can only make THREE requests for data in a SIX hour period. This is a restriction from the feed provider, not of the module. Try to ask for as much information as possible in one request. The module (not yet) is written in a way that will try to include a list of "candidates" (a list of PIDs that you've asked for before, but you didn't ask for this time around) that will also be requested in that same request, which is meant to update your local player stat cache when possible.
I'll provide more documentation later.
SEE ALSO
Uses data feed from Jeff Minard's BF2S MyLeaderBoard API <http://jrm.cc/extras/mlb/readme.html<gt>.
TODO
Need to finish the "candidates" list functionality.
CHANGES
0.01 - Sun May 21 21:52:31 2006 - Dusty Wilson New module with basic functionality.
BUGS
There probably are some. Let me know what you find.
AUTHOR
Dusty Wilson, <bf2s-module@dusty.hey.nu<gt>
COPYRIGHT AND LICENSE
Copyright (C) 2006 by Dusty Wilson <http://dusty.hey.nu/<gt>
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.8 or, at your option, any later version of Perl 5 you may have available.