Hey all,
I’m mucking around with a faction website project and trying to pull through live faction data from Torn’s API, but I’ve hit a bit of a wall.
So far I can:
- Pull all faction members (basic member list)
- Pull all faction wars (current & past)
What I’m trying to add next is:
Member Status Data, for each faction member, I’m looking to display things like:
- Online / Idle / Offline
- Flying
- Abroad
- In hospital
- Hospital abroad
- In jail
Basically the same status detail you’d see in game, but surfaced on an external site.
War Data
I’m also trying to pull:
- War hits & score per member
I’ve been digging through Swagger / API v2, but I can’t seem to find the right endpoints or fields.
If anyone has:
- The correct endpoints
- Example calls
- Or clarification on what’s not possible via the API …it’d be hugely appreciated.
Cheers in advance, and apologies if I’ve missed something obvious