Is there a good way to retrieve past ranked wars for my own faction from the API? As best I can tell I'd have to returne every single event using the mainnews seciton of the faction API then parse each one for the strings related to wars?
RW Report from API?
Started by Mr_Red [1693261] on in API Development.
About this thread
Posts archived: 3 / 3 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
- 3
- Discussion span
- →
- People posting
- 3
- Likes on archived posts
- 0
- Posts by staff, officers and moderators
- 1
- Authority score
- 70 / 100
- Historical score
- 16 / 100
- Story score
- 23 / 100
- Engagement score
- 43 / 100
torn/rankedwarreport exists
the id you need comes from
the id you need comes from
- torn/rankedwars
- [background color=var(--bbc-body-bg-color)]probably
[background color=var(--bbc-body-bg-color)]faction/basic [ranked_wars] (not yet documented)[/background]
[/background] - [background color=var(--bbc-body-bg-color)]maybe some news selection?[/background]
you can get all attacks in that period and work on data :)