Hi,
I am looking for RESTful API. We are currently doing several manual things:
- Tracking war results.
- Tracking titan hits.
- Tracking titan results.
If there was a way to GET the alliance current situation in JSON/CSV format it would be awesome. It will be significantly easier to follow up.
e.g:
example.com/api/alliance/<alliance-key>/war
will give all attacks in war {[{attacker:<name> , defender: <name>, score:<number>, timestamp:<time>, is_friendly:true/false}, …]}
example.com/api/alliance/<alliance-key>/titan
will give all attacks in war {[{attacker:<name> , points: <number>}, …]}
example.com/api/alliance/<alliance-key>/members
will give all attacks in war {[{name:<name> , current_defense_tp: <number>}, …]}
etc…
where <alliance-key> can be re-generated by leaders/co-leaders (not just displayed, in case alliance members change, we don’t want snooping)
Thanks a bunch!
TKO