Update API to include round a player is eliminated
Posted: Thu May 22, 2014 3:53 pm
Concise description:
Specifics/Details:
How this will benefit the site and/or other comments:
- Update API to include round a player is eliminated
Specifics/Details:
- Event tags within the current API include a timestamp when players are eliminated, but not a round number.
- There should be an option in the API to be able to request rounds on the events, perhaps by adding another input parameter for events=R
http://www.conquerclub.com/api.php?mode=gamelist&gn=1&events=Y - this would remain as current API
http://www.conquerclub.com/api.php?mode=gamelist&gn=1&events=R - this could return event info like this:
- Code: Select all
<event timestamp="1136683088" round="6">3 eliminated 4 from the game</event>
<event timestamp="1136769138" round="7">6 eliminated 5 from the game</event>
<event timestamp="1137007757" round="13">3 eliminated 2 from the game</event>
<event timestamp="1137015773" round="14">6 eliminated 1 from the game</event>
<event timestamp="1137040130" round="16">6 eliminated 3 from the game</event>
<event timestamp="1137040130" round="16">6 won the game</event>
...
How this will benefit the site and/or other comments:
- Would make it easier to extract this information, helping satisfy the whims of stats nerds, as well as making complex tournament scoring easier to do.