CHPP Development/XML/arenaDetails: Difference between revisions
Nethyperon (talk | contribs) No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
Current version of the XML output is 1.2 | |||
Value Default Description | <b>outputType</b><br> | ||
view Default View the data about an arenas details. | Indicates whether the output to the client should be an HTML document | ||
stats | or an XML file. Only the XML document may be used for CHPP use. | ||
<br> | |||
<br> | |||
arenaID | <b>actionType</b><br> | ||
Which arena to show details for. Defaults to users own arena if not specified. Only relevant for actionType=view. | Indicates what type of action the page should perform. <br><br> | ||
<table border="0" cellpadding="2" cellspacing="2"> | |||
StatsType | <tbody><tr bgcolor="#cccccc"> | ||
Which type of statistics that will be showed. Only relevant for actionType=stats. | <td valign="top"><b>Value</b></td> | ||
<td valign="top"><b>Default</b></td> | |||
Value Default Description | <td valign="top"><b>Description</b></td> | ||
MyArena Default Show visitor statistics for the users own arena. | </tr> | ||
OtherArenas | <tr bgcolor="#dddddd"> | ||
<td valign="top">view</td> | |||
<td valign="top">Default</td> | |||
MatchType | <td valign="top">View the data about an arenas details.</td> | ||
Which type of matches that will be included in the statistics. Only relevant for StatsType=MyArena. | </tr> | ||
<tr bgcolor="#dddddd"> | |||
Value Default Description | <td valign="top">stats</td> | ||
All Default Show statistics for all types of games. | <td valign="top"></td> | ||
CompOnly | <td valign="top">Shows the distribution among training types for | ||
LeagueOnly | all leagues or for a specific league. Requires that the logged on user | ||
FriendlyOnly | is a Hattrick Supporter.</td> | ||
</tr> | |||
</tbody></table> | |||
FirstDate | <br> | ||
The first date the statistics should cover. Only relevant for StatsType=MyArena. Default is date for first match on arena. | <br> | ||
<b>arenaID</b><br> | |||
LastDate | Which arena to show details for. Defaults to users own arena | ||
The last date the statistics should cover. Only relevant for StatsType=MyArena. Default is todays date. | if not specified. Only relevant for actionType=view. | ||
<br> | |||
StatsLeagueID | <br> | ||
Which league to show statistics for. The default, LeagueID=0, gives global statistics. Only relevant for StatsType=OtherArenas. | <b>StatsType</b><br> | ||
Which type of statistics that will be showed. Only | |||
relevant for actionType=stats.<br><br> | |||
<table border="0" cellpadding="2" cellspacing="2"> | |||
<tbody><tr bgcolor="#cccccc"> | |||
<td valign="top"><b>Value</b></td> | |||
<td valign="top"><b>Default</b></td> | |||
<td valign="top"><b>Description</b></td> | |||
</tr> | |||
<tr bgcolor="#dddddd"> | |||
<td valign="top">MyArena</td> | |||
<td valign="top">Default</td> | |||
<td valign="top">Show visitor statistics for the users own arena.</td> | |||
</tr> | |||
<tr bgcolor="#dddddd"> | |||
<td valign="top">OtherArenas</td> | |||
<td valign="top"></td> | |||
<td valign="top">Shows statistics ower biggest arenas.</td> | |||
</tr> | |||
</tbody></table> | |||
<br> | |||
<br> | |||
<b>MatchType</b><br> | |||
Which type of matches that will be included in the statistics. | |||
Only relevant for StatsType=MyArena.<br><br> | |||
<table border="0" cellpadding="2" cellspacing="2"> | |||
<tbody><tr bgcolor="#cccccc"> | |||
<td valign="top"><b>Value</b></td> | |||
<td valign="top"><b>Default</b></td> | |||
<td valign="top"><b>Description</b></td> | |||
</tr> | |||
<tr bgcolor="#dddddd"> | |||
<td valign="top">All</td> | |||
<td valign="top">Default</td> | |||
<td valign="top">Show statistics for all types of games.</td> | |||
</tr> | |||
<tr bgcolor="#dddddd"> | |||
<td valign="top">CompOnly</td> | |||
<td valign="top"></td> | |||
<td valign="top">Shows statistics for all competition games.</td> | |||
</tr> | |||
<tr bgcolor="#dddddd"> | |||
<td valign="top">LeagueOnly</td> | |||
<td valign="top"></td> | |||
<td valign="top">Shows statistics only for series games.</td> | |||
</tr> | |||
<tr bgcolor="#dddddd"> | |||
<td valign="top">FriendlyOnly</td> | |||
<td valign="top"></td> | |||
<td valign="top">Shows statistics only for friendly games.</td> | |||
</tr> | |||
</tbody></table> | |||
<br> | |||
<br> | |||
<b>FirstDate</b><br> | |||
The first date the statistics should cover. Only | |||
relevant for StatsType=MyArena. Default is date for first | |||
match on arena. | |||
<br> | |||
<br> | |||
<b>LastDate</b><br> | |||
The last date the statistics should cover. Only | |||
relevant for StatsType=MyArena. Default is todays date. | |||
<br> | |||
<br> | |||
<b>StatsLeagueID</b><br> | |||
Which league to show statistics for. The default, | |||
LeagueID=0, gives global statistics. Only relevant | |||
for StatsType=OtherArenas. | |||
Revision as of 21:31, 21 February 2006
Current version of the XML output is 1.2
outputType
Indicates whether the output to the client should be an HTML document
or an XML file. Only the XML document may be used for CHPP use.
actionType
Indicates what type of action the page should perform.
| Value | Default | Description |
| view | Default | View the data about an arenas details. |
| stats | Shows the distribution among training types for
all leagues or for a specific league. Requires that the logged on user is a Hattrick Supporter. |
arenaID
Which arena to show details for. Defaults to users own arena
if not specified. Only relevant for actionType=view.
StatsType
Which type of statistics that will be showed. Only
relevant for actionType=stats.
| Value | Default | Description |
| MyArena | Default | Show visitor statistics for the users own arena. |
| OtherArenas | Shows statistics ower biggest arenas. |
MatchType
Which type of matches that will be included in the statistics.
Only relevant for StatsType=MyArena.
| Value | Default | Description |
| All | Default | Show statistics for all types of games. |
| CompOnly | Shows statistics for all competition games. | |
| LeagueOnly | Shows statistics only for series games. | |
| FriendlyOnly | Shows statistics only for friendly games. |
FirstDate
The first date the statistics should cover. Only
relevant for StatsType=MyArena. Default is date for first
match on arena.
LastDate
The last date the statistics should cover. Only
relevant for StatsType=MyArena. Default is todays date.
StatsLeagueID
Which league to show statistics for. The default,
LeagueID=0, gives global statistics. Only relevant
for StatsType=OtherArenas.