CHPP Development/XML/arenaDetails: Difference between revisions
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
Current version of the XML output is 1.2 | Current version of the XML output is 1.2 | ||
<b>actionType</b><br> | <b>actionType</b><br> | ||
Indicates what type of action the page should perform. <br><br> | Indicates what type of action the page should perform. <br><br> | ||
Revision as of 21:54, 21 February 2006
Current version of the XML output is 1.2
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.