Skip to content
TORNLIFE More

Save spies through API

Started by Vladislav [2485612] on in API Development.

6 replies · 166 views · thread synced · 7 days ago · View on torn.com
About this thread

Posts archived: 7 / 7 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
7
Discussion span
→
People posting
4
Likes on archived posts
4
Posts by staff, officers and moderators
1
Authority score
71 / 100
Historical score
22 / 100
Story score
28 / 100
Engagement score
49 / 100

Most-liked replies

TTTZ [2572033]
https://api.torn.com/user/?selections=log&log=6403&key=

This api call should return 100 of your most recent Job special spies. I cant test it though as I havent done any spies...
Vladislav [2485612]
Thanks! But I just went ahead and hired someone to make a spreadsheet for me that automatically logs battle stats from spies.
byrod [1132772]
Side note: Stat spies are in an own section of the API. There is no need to go through the logs.

https://api.torn.com/user/?selections=reports&key=

Example:
"id": "uniqueid",
"user_id": 1132772,
"target": 1234,
"type": "stats",
"report": {
"strength": 10,
"speed": 20,
"dexterity": 10,
"defense": 10,
"total_battlestats": 50,
},
"timestamp": 1633374575,