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
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>
Usage
Formatting is optional, the default is XML.
Case sensitivity applies!
http://www.battlecardsystem.com/api/ <method> / ( <param> / <value> ) [ /format/<type> ]
Available formats
Parameters
Description
This service will display simple card data of a player via the provided ID.Example
http://www.battlecardsystem.com/api/player/id/<PlayerID>
Parameters
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
Parameters
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>
Parameters
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