Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 956 Categories, Downloaded 50.324.034 Times

WWW::BF2S 0.03

  Date Added: May 11, 2010  |  Visits: 2.089

WWW::BF2S

Report Broken Link
Printer Friendly Version


Product Homepage
Download (107 downloads)



WWW::BF2S is a Perl module that can get Battlefield 2 Player Stats. SYNOPSIS use WWW::BF2S; my $bf2 = Net::BF2S->new; my $data = $bf2->getStats(45355493,64573414,64318788,64246757,62797217,61091442,64964638,64661842,65431962,58968459); 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 and move on to the next one in the list. 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 the module. Try to ask for as many PIDs as possible in one request. The module is being written (this part is coming soon) in a way that will try to include a list of "PID Request Candidates" (a list of PIDs that youve asked for before, but you didnt 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. Ill provide more documentation later. getStats Access this method in an OO way. my $data = $bf2->getStats(65431962,64246757,64661842); It will return a hashref that contains data for the PIDs requested. It is in this format: $data = { 65431962 => { country => US, link => http://bf2s.com/player/65431962/, time => 525400, deaths => 5332, nick => Rd54321, score => 9757, wins => 222, losses => 368, pid => 65431962, updated => 1148275361, rank => 6, kills => 3237 }, 64246757 => { country => US, link => http://bf2s.com/player/64246757/, time => 272092, deaths => 1739, nick => dustyheynu, score => 5076, wins => 76, losses => 110, pid => 64246757, updated => 1148275361, rank => 5, kills => 1130 }, 64661842 => { country => US, link => http://bf2s.com/player/64661842/, time => 1008165, deaths => 11902, nick => READYORNOTHEREICOME, score => 29062, wins => 550, losses => 689, pid => 64661842, updated => 1148275361, rank => 8, kills => 8757 } }; It will only fetch data that is at least two hours old. Otherwise, it will serve the data from the stat cache file. If none of the PIDs need updated (already updated within two hours), it wont send a request at all and only serve from the cache. If at least one of the PIDs need updated (because its older than two hours or has never been requested), it will request those PIDs that need updated. When the "PID Request Candidates" feature is ready, it will also request, at that same time, a list of "candidates" from your stat cache..

Requirements: No special requirements
Platforms: Linux
Keyword: Data Module Perl Module Pids Player Request Updated Us Www
Users rating: 0/10

License: Freeware Size: 6.14 KB
USER REVIEWS
More Reviews or Write Review


WWW::BF2S RELATED
Libraries  -  Data::Region 1.0
Data::Region Perl module can define hierarchical areas with behaviors. SYNOPSIS use Data::Region; $r = Data::Region->new( 8.5, 11, { data => PageObj->new() } ); $r->data( PageObj->new() ); foreach my $c ( $r->subdivide(2.5,3) ) { $a =...
8.19 KB  
Libraries  -  Audio::Data 1.029
Audio::Data is a module for representing audio data to perl. SYNOPSIS use Audio::Data; my $audio = Audio::Data->new(rate => , ...); $audio->method(...) $audio OP ... Audio::Data represents audio data to perl in a fairly compact and...
88.06 KB  
Modules  -  phpBBforum Integration module 7.x-1.0-alpha3
phpBBforum Integration module provides integration with phpBB3 Forumhttp://www.phpbb.com/.6.x-2.0-rc1 provides support of phpBB 3.0.8.Features: * phpBB can be completely embedded inside Drupal (version 2.0); * phpBB topics can be created from...
389.12 KB  
Modules  -  World Bank API 6.x-1.0-beta5
This module provides integration with the http://open.worldbank.org datafeed API, including basic request handling and Views integration. Read the README.txt for a detailed description, and visit http://data.worldbank.org/developers for a detailed...
30.72 KB  
Libraries  -  FLV::VideoTag 0.11
FLV::VideoTag is a flash video file data structure Perl module. METHODS This is a subclass of FLV::Base. $self->parse($fileinst) Takes a FLV::File instance and extracts an FLV video tag from the file stream. This method throws exceptions...
 
Desktop Utilities  -  StartMenu9 Free 2.1
The StartMenu9 Free program differs from other start programs in 3 ways: The image floats on your desktop. It comes with an art module loaded with multimedia and a 'Magic Art Wizard'. It comes with a data module to manage and easily access your...
2.06 MB  
Shell Enhancements  -  Start PDM 1.3
Start PDM program differs from other Start programs in 3 ways: The image/docking rectangle floats on your desktop. It comes with an art module loaded with multimedia and a 'Magic Art Wizard'. It comes with a data module to manage and easily access...
1.97 MB  
Libraries  -  Apache2::RequestRec 2.0.3
Apache2::RequestRec is a Perl API for Apache request record accessors. Synopsis use Apache2::RequestRec (); # set supported by the handler HTTP methods $allowed = $r->allowed(); # auth type $auth_type = $r->ap_auth_type(); #...
3.5 MB  
Libraries  -  B::Asmdata 5.8.8
B::Asmdata is an autogenerated data about Perl ops, used to generate bytecode. SYNOPSIS use B::Asmdata qw(%insn_data @insn_name @optype @specialsv_name); Provides information about Perl ops in order to generate bytecode via a bunch of...
12.2 MB  
Multimedia & Graphics  -  AmarokMPC 0.2
AmarokMPC is an Amarok script for synchronizing the locally played music with an instance of the Music Player Daemon (MPD, http://www.musicpd.org). This task and usecase is somewhat limited: If you have the same music on different computers...
51.2 KB  
NEW DOWNLOADS IN PROGRAMMING, LIBRARIES
Programming  -  Cedalion for Linux 0.2.6
Cedalion is a programming language that allows its users to add new abstractions and define (and use) internal DSLs. Its innovation is in the fact that it uses projectional editing to allow the new abstractions to have no syntactic limitations.
471.04 KB  
Programming  -  Math::GMPf 0.29
Math::GMPf - perl interface to the GMP library's floating point (mpf) functions.
30.72 KB  
Programming  -  Net::Wire10 1.08
Net::Wire10 is a Pure Perl connector that talks to Sphinx, MySQL and Drizzle servers. Net::Wire10 implements the low-level network protocol, alias the MySQL wire protocol version 10, necessary for talking to one of the aforementioned...
30.72 KB  
Programming  -  logilab-common 0.56.2
a bunch of modules providing low level functionnalities shared among some python projects devel Please note that some of the modules have some extra dependencies. For instance, logilab.common.db will require a db-api 2.0 compliant...
174.08 KB  
Programming  -  OpenSSL for linux 1.0.0a
The OpenSSL Project is a collaborative effort to develop a robust, commercial-grade, full-featured, and Open Source toolkit implementing the Secure Sockets Layer (SSL v2/v3) and Transport Layer Security (TLS v1) protocols as well as a...
3.83 MB  
Libraries  -  wolfSSL 4.0.0
The wolfSSL embedded SSL/TLS library is a lightweight SSL library written in ANSI standard C and targeted for embedded and RTOS environments - primarily because of its small size, speed, and feature set. It is commonly used in standard operating...
3.88 MB  
Libraries  -  EuGTK 4.8.9
Makes it easy to develop good- looking, fast, cross-platform programs that run on Linux, OS X, and Windows. Euphoria is a very fast interpreted/compiled language with straight-forward syntax. EuGTK allows programming in a clean, object-oriented...
10.68 MB  
Libraries  -  Linux User Group Library Manager 1.0
The LUG Library Manager is a project to help Linux User Groups start their own library. A LUG library is helpful to the community at large because it increases access to information, and gives everyone the opportunity to become more knowledgeable.
5.35 KB  
Libraries  -  Module::MakefilePL::Parse 0.12
Module::MakefilePL::Parse is a Perl module to parse required modules from Makefile.PL. SYNOPSIS use Module::MakefilePL::Parse; open $fh, Makefile.PL; $parser = Module::MakefilePL::Parse->new( join("", ) ); $info = $parser->required;...
8.19 KB  
Libraries  -  sqlpp 0.06
sqlpp Perl package is a SQL preprocessor. sqlpp is a conventional cpp-alike preprocessor taught to understand SQL ( PgSQL, in particular) syntax specificities. In addition to the standard #define/#ifdef/#else/#endif cohort, provides also...
10.24 KB