clanwar |  scoring |  modes |  about |  XML |  news
september |  august |  overall

AC 1.0 Ladder - XML

It's now possible to get an XML output for the AC 1.0 Ladder using the following URL:

http://ladder.tearyoudown.com/xml.cgi

By default, this XML shows the Top 5 players of the current month, ordered by scores. Below is sample output:

<AssaultCubeLadder LadderVersion="1" AssaultCubeVersion="1">
    <Publisher>{TyD}Clown</Publisher>
    <Date>
	<CurrentSnapshot>Wed Dec 10 22:55:56 2008</CurrentSnapshot>
    </Date>
    <Players>
	<Player ID="29914">
	    <Name>#M|A#Damiahn</Name>
	    <Rank>1</Rank>
	    <Score>88636</Score>
	    <Time>23h 45m</Time>
	    <Killing>
		<Frags>6323</Frags>
		<Deaths>2813</Deaths>
		<Ratio>2.25</Ratio>
		<Kills>3995</Kills>
		<Gibs>1117</Gibs>
		<Splats>1337</Splats>
		<Teamkills>320</Teamkills>
		<Suicides>66</Suicides>
	    </Killing>
	    <Flags>
		<Scored>248</Scored>
		<Stolen>332</Stolen>
		<Hunted>3</Hunted>
		<Returned>54</Returned>
		<Kept>124</Kept>
	    </Flags>
	</Player>
	<Player ID="29596">
	    <Name>|BC|thename</Name>
	    <Rank>2</Rank>
	    <Score>75541</Score>
	    <Time>34h 1m</Score>
	    <Killing>
		<Frags>4751</Frags>
		(...etcetera...)
	    </Killing>
	    <Flags>
		(...etcetera...)
	    </Flags>
	</Player>
	(... etcetera...)
    </Players>
</AssaultCubeLadder>

xml.cgi by specifying script variables. The following variables are supported:

filter - add a search filter for names. For example, to show only players with {TyD} in their name:

http://ladder.tearyoudown.com/xml.cgi?filter={TyD}

order - select the field to sort on. By default, rank is used. The following fields are supported: name, score, time, flags, frags, deaths, kills, gibs, splats, teamkills, suicides, flags_stolen, flags_returned, flags_kept, ratio, fratio. For example, to sort the output on the number of kills:

http://ladder.tearyoudown.com/xml.cgi?order=kills

These arguments can be combined as well. These examples show:

http://ladder.tearyoudown.com/xml.cgi?order=kills
http://ladder.tearyoudown.com/xml.cgi?order=gibs
http://ladder.tearyoudown.com/xml.cgi?sort=flags_kept=|BC|