AoC>TV: API
All requests to this API should be made to the following URL, using either POST or GET:
https://aoc.is-better-than.tv/api.php
Remember to always urlencode the value of the parameters sent to the API or something might go wrong.
Disclaimer
I do NOT take responsibility for how people use the data provided by this API.
I do NOT take responsibility for any kind of harm any external applications might do to your computer/devices.
You should always be careful/critical when using 3rd party applications!
AAMon
Read more about AAMon and download AAMon apps from the official AAMon page .
API commands
aamon/version
Get version info for the official AAMon applications.
Reference
API request:
Param
Type
Value
Required
Description
op
string
aamon/version
Yes
API command operator.
XML response:
<?xml version="1.0"?>
<result>
<status>1</status>
<message><![CDATA[AAMon versions]]></message>
<data>
<bebot><![CDATA[0.0.7]]></bebot>
<windows><![CDATA[0.0.8]]></windows>
</data>
</result>
aamon/aa/set
Setup a count down timer for an AA skill training for a character.
This command also registers the character if not already added.
Reference
API request:
Param
Type
Value
Required
Description
op
string
aamon/aa/set
Yes
API command operator.
dimension
string
<dimension>
Yes
The name of the server.
botname
string
<botname>
Yes
The name of the bot.
botkey
string
<apikey>
Yes
The apikey of the bot.
char_id
double
<char_id>
Yes
The ingame chat uid of the character.
nickname
string
<nickname>
Yes
The name of the character.
duration
integer
<duration>
Yes
Duration of count down timer for skill given in hours.
skillname
string
[skillname]
Optional
The name of the AA skill.
skillrank
integer
[skillrank]
Optional
The rank of the AA skill, 1-5.
agent
string
[agent]
Optional
The name of the application.
version
string
[version]
Optional
The version of the application.
XML response:
<?xml version="1.0"?>
<result>
<status>1</status>
<message><![CDATA[Skill training added]]></message>
<data>
<end_dt><![CDATA[2010-12-02 06:53:35]]></end_dt>
<seconds>64800</seconds>
<countdown><![CDATA[18h 00m 00s]]></countdown>
<version><![CDATA[0.0.7]]></version>
</data>
</result>
aamon/aa/get
Get skill training info for a character, returns current skill in training and the entire skill training history.
Reference
API request:
Param
Type
Value
Required
Description
op
string
aamon/aa/get
Yes
API command operator.
dimension
string
<dimension>
Yes
The name of the server.
botname
string
<botname>
Yes
The name of the bot.
botkey
string
<apikey>
Yes
The apikey of the bot.
char_id
double
<char_id>
Yes
The ingame chat uid of the character.
agent
string
[agent]
Optional
The name of the application.
version
string
[version]
Optional
The version of the application.
XML response:
<?xml version="1.0"?>
<result>
<status>1</status>
<message><![CDATA[Skill training for Kentarii]]></message>
<data>
<character>
<dimension><![CDATA[Fury]]></dimension>
<char_id>84000547</char_id>
<nickname><![CDATA[Kentarii]]></nickname>
<current_skill_id>1</current_skill_id>
<current>
<id>1</id>
<skillname><![CDATA[Holy Wards]]></skillname>
<skillrank>1</skillrank>
<start_dt><![CDATA[2010-12-01 12:53:35]]></start_dt>
<end_dt><![CDATA[2010-12-02 06:53:35]]></end_dt>
<duration>18</duration>
<start_ts>1291208015</start_ts>
<end_ts>1291272815</end_ts>
<seconds>62956</seconds>
<countdown><![CDATA[17h 29m 16s]]></countdown>
</current>
<history>
<skill>
<id>1</id>
<skillname><![CDATA[Holy Wards]]></skillname>
<skillrank>1</skillrank>
<start_dt><![CDATA[2010-12-01 12:53:35]]></start_dt>
<end_dt><![CDATA[2010-12-02 06:53:35]]></end_dt>
<duration>18</duration>
<start_ts>1291208015</start_ts>
<end_ts>1291272815</end_ts>
<seconds>62956</seconds>
<countdown><![CDATA[17h 29m 16s]]></countdown>
</skill>
</history>
</character>
</data>
</result>
aamon/aa/get (character authentication)
Get skill training info for a character using character authentication, returns current skill in training and the entire skill training history.
Reference
API request:
Param
Type
Value
Required
Description
op
string
aamon/aa/get
Yes
API command operator.
dimension
string
<dimension>
Yes
The name of the server.
char_id
double
<char_id>
Yes
The ingame chat uid of the character.
charkey
string
<apikey>
Yes
The apikey of the character.
agent
string
[agent]
Optional
The name of the application.
version
string
[version]
Optional
The version of the application.
XML response:
<?xml version="1.0"?>
<result>
<status>1</status>
<message><![CDATA[Skill training for Kentarii]]></message>
<data>
<character>
<dimension><![CDATA[Fury]]></dimension>
<char_id>84000547</char_id>
<nickname><![CDATA[Kentarii]]></nickname>
<current_skill_id>1</current_skill_id>
<current>
<id>1</id>
<skillname><![CDATA[Holy Wards]]></skillname>
<skillrank>1</skillrank>
<start_dt><![CDATA[2010-12-01 12:53:35]]></start_dt>
<end_dt><![CDATA[2010-12-02 06:53:35]]></end_dt>
<duration>18</duration>
<start_ts>1291208015</start_ts>
<end_ts>1291272815</end_ts>
<seconds>62956</seconds>
<countdown><![CDATA[17h 29m 16s]]></countdown>
</current>
<history>
<skill>
<id>1</id>
<skillname><![CDATA[Holy Wards]]></skillname>
<skillrank>1</skillrank>
<start_dt><![CDATA[2010-12-01 12:53:35]]></start_dt>
<end_dt><![CDATA[2010-12-02 06:53:35]]></end_dt>
<duration>18</duration>
<start_ts>1291208015</start_ts>
<end_ts>1291272815</end_ts>
<seconds>62956</seconds>
<countdown><![CDATA[17h 29m 16s]]></countdown>
</skill>
</history>
</character>
</data>
</result>
aamon/aa/list
Get a list of characters and their current skill training belonging to a bot.
Reference
API request:
Param
Type
Value
Required
Description
op
string
aamon/aa/list
Yes
API command operator.
dimension
string
<dimension>
Yes
The name of the server.
botname
string
<botname>
Yes
The name of the bot.
botkey
string
<apikey>
Yes
The apikey of the bot.
agent
string
[agent]
Optional
The name of the application.
version
string
[version]
Optional
The version of the application.
XML response:
<?xml version="1.0"?>
<result>
<status>1</status>
<message><![CDATA[Character list for bot]]></message>
<data>
<characters>
<character>
<dimension><![CDATA[Fury]]></dimension>
<char_id>84000547</char_id>
<nickname><![CDATA[Kentarii]]></nickname>
<skillname><![CDATA[Holy Wards]]></skillname>
<skillrank>1</skillrank>
<duration>18</duration>
<start_dt><![CDATA[2010-12-01 12:53:35]]></start_dt>
<end_dt><![CDATA[2010-12-02 06:53:35]]></end_dt>
</character>
<character>
<dimension><![CDATA[Fury]]></dimension>
<char_id>84120835</char_id>
<nickname><![CDATA[Bela]]></nickname>
<skillname><![CDATA[Invigoration]]></skillname>
<skillrank>3</skillrank>
<duration>61</duration>
<start_dt><![CDATA[2010-11-24 00:54:47]]></start_dt>
<end_dt><![CDATA[2010-11-26 13:54:47]]></end_dt>
</character>
</characters>
</data>
</result>