Battle Card System

Api


jQuery Extension

Download!

Still a work in progress, check back often!

This jQuery extension is used to display data from the Battle Card System site.
This extension requires jQuery (www.jquery.com) to be included on the page

Usage

$('#div').leaderboard({ 'ownerID' : (integer), 'game' : (string) });

$('#div').stats({ 'playerID' : (integer) });
Game List
  • SF4
  • MK9
  • T6
  • UMVC3
  • SF3
  • BBCS
  • SCV

Full Example

<DOCTYPE html>
<html>
<head>
<title>jQuery.BattleCardSystem</title>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
<script type="text/javascript" src='./jQuery.BattleCardSystem.js'></script>
<link href="./jQuery.BattleCardSystem.js.css" rel="stylesheet" media="screen" type="text/css" />
</head>
<body>
<div id='bcsresultleaderboard'></div>
<div id='bcsresultplayer'></div>
<script type="text/javascript">
$('#bcsresultleaderboard').leaderboard(
{
'ownerID' : 1,
'game' : 'UMVC3'
});
$('#bcsresultplayer').stats(
{
'playerID' : 32
});
</script>
</body>
</html>

API

Usage

Formatting is optional, the default is XML.
Case sensitivity applies!

http://www.battlecardsystem.com/api/ <method> / ( <param> / <value> ) [ /format/<type> ]

Available formats

  • xml
  • json
  • serialized
  • php array
  • html
  • csv

Player

Parameters

  • id (*Required*)

Description

This service will display simple card data of a player via the provided ID.
To find the playerID, you will need to investigate the statistics page

Example

http://www.battlecardsystem.com/api/player/id/<PlayerID>

Matches

Parameters

  • owner (*Required*)
  • game (default: SF4)
    • SF4
    • MK9
    • T6
    • UMVC3
    • SF3
    • BBCS
    • SCV

Description

This service will provide you a list of every match you have registered in the database that you own.
Currently you can filter this by game to get a more refined view of your matches

Example

http://www.battlecardsystem.com/api/matches/owner/<OwnerID>/game/umvc3

Stats

Parameters

  • id
  • card

Description

This service provides more data of the player and all matches played

You can use id (PlayerID) or the card identification number (card) to find the player with this service

Example

http://www.battlecardsystem.com/api/stats/id/<PlayerID>

Leaderboard

Parameters

  • owner (*Required*)
  • game (default: SF4)
    • SF4
    • MK9
    • T6
    • UMVC3
    • SF3
    • BBCS
    • SCV

Description

This service will provide you with an ordered set of players that your account owns. The set is ordered by total BattlePoints

Example

http://www.battlecardsystem.com/api/leaderboard/owner/<OwnerID>/game/sf4

* Owner ID can be obtained from the Settings page