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

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

Serving Software Downloads in 976 Categories, Downloaded 30.140.621 Times

WWW::BF2S 0.03

  Date Added: May 11, 2010  |  Visits: 752

WWW::BF2S

Report Broken Link
Printer Friendly Version


Product Homepage
Download (83 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
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  -  Chess::FIDE::Player 1.00
Chess::FIDE::Player is a Perl module to parse player data from FIDE Rating List. SYNOPSIS use Chess::FIDE::Player qw(@FIDE_field); my $player = Chess::FIDE::Player->new(%param); print $player->id() . "n"; $player->value(field);...
1.1 MB  
Network & Internet  -  MyCMS perl module 1.0
MyCMS perl module provides the MN::CMS Perl module used by the MyCMS. MyCMS perl module contains Perl object classes to manage the data of MyCMS (such as articles, links, and images). MN::CMS is a perl module that allows you to manage an...
16.38 KB  
Libraries  -  Data::Type::Docs 0.01.15
Data::Type::Docs is a Perl module with the manual overview. MANUALS Data::Type::Docs::FAQ Frequently asked questions. Data::Type::Docs::FOP Frequently occuring problems. Data::Type::Docs::Howto Point to point recipes how to get...
70.66 KB  
Libraries  -  Alien Perl module 0.91
Alien Perl module package contains external libraries wrapped up for your viewing pleasure! SYNOPSIS perldoc Alien; Alien is a package that exists just to hold together an idea, the idea of Alien:: packages, so there is no code here, just...
10.24 KB  
Libraries  -  Class::Meta::Type 0.53
Class::Meta::Type is a Perl module for data type validation and accessor building. SYNOPSIS package MyApp::TypeDef; use strict; use Class::Meta::Type; use IO::Socket; my $type = Class::Meta::Type->add( key => io_socket, desc =>...
61.44 KB  
Libraries  -  OpenGeoDB Perl module 0.4
OpenGeDB Perl module is a module to access the OpenGeoDB database and calculate all ZIP codes in a certain radius..
3.07 KB  
Libraries  -  Object::Relation::DataType 0.1.0
Object::Relation::DataType is a Perl module with complex data types for TKP. The Object::Relation::DataType name space is set aside for the creation of complex data types for TKP. By "complex" I mean serializable objects, such as dates,...
235.52 KB  
Libraries  -  Ace::Object 1.89
Ace::Object is a Perl module to manipulate Ace Data Objects. SYNOPSIS # open database connection and get an object use Ace; $db = Ace->connect(-host => beta.crbm.cnrs-mop.fr, -port => 20000100); $sequence = $db->fetch(Sequence => D12345);...
296.96 KB  
Libraries  -  Any::Renderer::XML 1.014
Any::Renderer::XML Perl module can render a data structure as element-only XML. SYNOPSIS use Any::Renderer; my %xml_options = (); my %options = ( XmlOptions => %xml_options ); my $format = "XML"; my $r = new Any::Renderer ( $format,...
23.55 KB  
NEW DOWNLOADS IN PROGRAMMING, LIBRARIES
Programming  -  FLEX-db Digital Asset Manager 3.0.9
FLEX-db - an enterprise Digital Asset Manager (DAM). It ingests and links metadata with files, creates thumbnails, and processes files using business rules. FLEX-db has a JSP client, Java app server for file input and output and an EJB metadata...
21.57 MB  
Programming  -  Libicom 0.9.0
The libicom library is a character based dynamicly linked library for Linux. It is used to remotely control the Icom IC-R8500 wide band receiver via an RS232 link. All call and return parameters to the control functions are character string based....
20.48 KB  
Programming  -  dotdesktop 0.3
Dotdesktop library provides ability to parse desktop entry file and access the information in a convenient way. Desktop entry file format is defined by freedesktop.org, it is used to describe information about an application such as the name and...
327.68 KB  
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  -  libyasl 0.2
Libyasl is a C++ class library to easily realize TCP/UDP/Multicast clientsand servers in IPv4 and IPv6 environments under GNU/Linux systems.
143.36 KB  
Libraries  -  wolfSSL 3.12.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...
2.73 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