CHPP Development/XML/arenaDetails: Difference between revisions
No edit summary |
No edit summary |
||
| Line 9: | Line 9: | ||
Indicates what type of action the page should perform. <br><br> | Indicates what type of action the page should perform. <br><br> | ||
<table border="0" cellpadding="2" cellspacing="2"> | <table border="0" cellpadding="2" cellspacing="2"> | ||
<tr bgcolor="#cccccc"> | |||
<td valign="top"><b>Value</b></td> | <td valign="top"><b>Value</b></td> | ||
<td valign="top"><b>Default</b></td> | <td valign="top"><b>Default</b></td> | ||
| Line 26: | Line 26: | ||
is a Hattrick Supporter.</td> | is a Hattrick Supporter.</td> | ||
</tr> | </tr> | ||
</table> | |||
<br> | <br> | ||
<br> | <br> | ||
| Line 38: | Line 38: | ||
relevant for actionType=stats.<br><br> | relevant for actionType=stats.<br><br> | ||
<table border="0" cellpadding="2" cellspacing="2"> | <table border="0" cellpadding="2" cellspacing="2"> | ||
<tr bgcolor="#cccccc"> | |||
<td valign="top"><b>Value</b></td> | <td valign="top"><b>Value</b></td> | ||
<td valign="top"><b>Default</b></td> | <td valign="top"><b>Default</b></td> | ||
| Line 53: | Line 53: | ||
<td valign="top">Shows statistics ower biggest arenas.</td> | <td valign="top">Shows statistics ower biggest arenas.</td> | ||
</tr> | </tr> | ||
</table> | |||
<br> | <br> | ||
<br> | <br> | ||
| Line 60: | Line 60: | ||
Only relevant for StatsType=MyArena.<br><br> | Only relevant for StatsType=MyArena.<br><br> | ||
<table border="0" cellpadding="2" cellspacing="2"> | <table border="0" cellpadding="2" cellspacing="2"> | ||
<tr bgcolor="#cccccc"> | |||
<td valign="top"><b>Value</b></td> | <td valign="top"><b>Value</b></td> | ||
<td valign="top"><b>Default</b></td> | <td valign="top"><b>Default</b></td> | ||
| Line 85: | Line 85: | ||
<td valign="top">Shows statistics only for friendly games.</td> | <td valign="top">Shows statistics only for friendly games.</td> | ||
</tr> | </tr> | ||
</table> | |||
<br> | <br> | ||
<br> | <br> | ||
Revision as of 21:34, 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.