Skip to content
TORNLIFE More

API for the vault

Started by MarcWolf [2054313] on in API Development.

6 replies · 179 views · thread synced · 5 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
6
Authority score
66 / 100
Historical score
27 / 100
Story score
34 / 100
Engagement score
52 / 100
MarcWolf [2054313]
Hello, I am fairly new to torn's API.

Does anyone know if i can get the transaction log of the Vault?

Right now i am holding space till the entire transaction page loads, copying the transaction DOMs then parsing in PHP.

This is a bit of a headache, any help would be appreciated. I am also happy to share my PHP parser if anyone is interested but its not a proper solution.
Helcostr [1934501] Wiki Editor
I would recommend parsing events (maybe in JS using a user script), and packaging it in a nice API for yourself. Sid's application takes care of that.

Wish we could get this data in the API.
MarcWolf [2054313]
helcostr my problem is the time required to load the page, even with java script the parsing is a bit of a nightmare.

Father's Bank code is nice but downsides to both needing the script will not work for us.

Thank you all, Father huge props on coding all that!

It seems javascript is the solution but to trigger event (like loading the next 50 objects of vault) is against the rules :(
Helcostr [1934501] Wiki Editor
can you be more specific?

what page takes a long time,

and what do you mean by loading the next 50 objects of vault? is this torn internal api, or your own api?
MarcWolf [2054313]
to whom it may concern, I am making a grease monkey script to automatically build the account ledger. Its a bit slow... its seems torn can only spit out a vault transaction every 10ms.. so 1,000s of transactions can quite a few seconds/minutes to process the first time.