Skip to content
TORNLIFE More

API for ongoing ranked war?

Started by DieselBlade [1701621] Wiki Contributor on in API Development.

5 replies · 66 views · thread synced · 4 days ago · View on torn.com
About this thread

Posts archived: 6 / 6 posts (100%) · the total is Torn's reply count + the opening post at the last fetch

Counted by TornLife from the archived posts.

Archived posts
6
Discussion span
→
People posting
3
Likes on archived posts
1
Authority score
69 / 100
Historical score
29 / 100
Story score
25 / 100
Engagement score
45 / 100
DieselBlade [1701621] Wiki Contributor

Is it possible to see stats for an ongoing ranked war,  such as our members' score and war hits?

 

I've tried to use faction > rankedwarreport but it says wrong ID.

Omanpx [1906686]

I think live Score is shown in faction/basic ranked_wars in API v1

 

As for member scores - pretty sure that's only calculated after the war when the report is done - you can calculate it yourself though, using faction/attacks or faction/attacksfull. War hits give 100% of respect earned towards the score, so it's easy to calculate if you filter only war hits.

 

Titanic_ [2968477]

You can see ongoing war scores

 

But you can't get the report of an ongoing war, since it's generated at war end as omanpx said.

 

Edit: There is also /wars which shows all ongoing wars.

Titanic_ [2968477]

And there's a way to calculate that yourself. As omanpx said /attacks and /attacksfull will give you the data you need. 

 

The /rankedwars and /wars will give you the timestamp that the war started. All you need then is to get all the attacks after the war started and tally up the ones that are war hits.