Hi,
I've previously attempted these requests in the suggestion forums, but seeing as the API is kinda niche it's hard to get any traction. The Torn-API Discord made me aware that the documentation that says "Suggestions can be posted in Torn's API forum" - so I'm gonna attempt that here.
I'm the creator of Tornattackcentral (currently offline due to OVH-fire). It allows users to track their attacks, and the API-calls are made from my server. There are some data that I extrapolate from the API. You can calculate the ELO won/lost in an attack by looking at the players ELO before and after a single attack. Similarily you can do this with amount mugged and also how much HP is lost in a fight. The only criterea is that you get a datapoint before and after each attack, which is obviously taxing on the servers on both ends.
Simply add ' "mugged" : 0', ' "elo": 12 ' , ' "hploss": 750 ' to the API. mugged would be null for attacks that are not "Result: Mugged". The other two I guess are self-explanatory
The data is already in the API, so I don't see the negative aspects of adding these as simple datapoints in the ?attacks section. It would drastically reduce the amount of API-calls TAC needs to make, and I bet for a lot of other developers too. Thats a win-win for devs and Torn :)
I've previously attempted these requests in the suggestion forums, but seeing as the API is kinda niche it's hard to get any traction. The Torn-API Discord made me aware that the documentation that says "Suggestions can be posted in Torn's API forum" - so I'm gonna attempt that here.
I'm the creator of Tornattackcentral (currently offline due to OVH-fire). It allows users to track their attacks, and the API-calls are made from my server. There are some data that I extrapolate from the API. You can calculate the ELO won/lost in an attack by looking at the players ELO before and after a single attack. Similarily you can do this with amount mugged and also how much HP is lost in a fight. The only criterea is that you get a datapoint before and after each attack, which is obviously taxing on the servers on both ends.
Simply add ' "mugged" : 0', ' "elo": 12 ' , ' "hploss": 750 ' to the API. mugged would be null for attacks that are not "Result: Mugged". The other two I guess are self-explanatory
The data is already in the API, so I don't see the negative aspects of adding these as simple datapoints in the ?attacks section. It would drastically reduce the amount of API-calls TAC needs to make, and I bet for a lot of other developers too. Thats a win-win for devs and Torn :)
Mentions: ELO-change in API