Skip to content
TORNLIFE More

Torn Statistics Responsive API

Started by AAW [1525734] on in API Development.

36 replies · 573 views · thread synced · 5 days ago · View on torn.com
About this thread

Posts archived: 37 / 37 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
37
Discussion span
→
Authority score
74 / 100
Historical score
27 / 100
Story score
39 / 100
Engagement score
67 / 100

People posting, likes and official posts are not counted for this thread yet: on threads longer than one page they come from a periodic pass over the archive, which has not covered it.

Most-liked replies

AAW [1525734]

So after reading up abit about how torn never used too be a Responsive Website, i decided too make a Torn WebAPI Client considering Torn has been updated too "Respo"nsive!

The URL too this website is http://tornaawdev.x10host.com/

T
his website is available on all mobile & tablet devices and show look great on what ever device your choice you decide to visit Torn Statistics on!

Update 1.0

Added Networth
Added a Dashboard / Main page screen

Update 2.0

Added Login Page
Added Register Page
Added Bars(Energy, Happy, Nerve, Happy)
Added Property Listings
Added Settings (Update API Key)

Update 3.0

Added Work / Battlestats Page
Added a User Profile
Added a Banking Page
added a summary of your perks!

Update 4.0

Added more security
Added API History
Added Various Page Updates

Update 5.0

Added Perks
Added Education
Added Cayman Island Banking Tool
Added more Security

If you would like too stay up-to-date with this on going development then subscribe too the thread!

Thank you!
LouBaker [1162207]

Thank You that bref moment that i was going to see something nice

entered my user name and api key

and NOTHING HAPPENED

my api key is no longer "WCsvV"

thank you very much
AAW [1525734]

it works fine for me? when you enter it in the networth page? and click the Search button it will grab your networth?
Meme_Raven [1891116]

Phising site?

There's no way you need to enter your user name because you can get all that from the API key using "["player_id"]".

The only hard-coded ID in my PHP is my TC ID so I can add something special to my own dynamically-built page.

EDIT:

Gives results. Take back what I said.
AAW [1525734]

it doesnt ask you for a API Key until you click on the Networth Page? or can a staff member confirm this isnt a Phishing Site
AAW [1525734]

No its because im making a login / register system & forgot too change my index.php redirect too home.php instead of the main index.php which the login page is at! Sorry for the inconvenience
Meme_Raven [1891116]

No problem. All you really need is an API key, sometimes not even that for basic networth. I'll keep a watch on this thread and I'll give feedback.
AAW [1525734]

Thank you mate, just implementing a login system so users dont have too manually input there key every time!
Meme_Raven [1891116]

I've edited my negative, gave it a try and reset my key as a precaution.

it is working, displays well.
Lemme know if you need some help on the system, I might be able to give some code from my profile page. I've posted in another thread about populating bazaar items and comparing your price/market if you'd like to add that in. It's all net-worth after-all!

[image: s12.postimg.org]
AAW [1525734]

New updates out, users can now login into Torn Statistics and can also store APIkey, for immediate use instead of having too manually enter their key each time!
Meme_Raven [1891116]

Good, you should also make a user-accessible page if the player allows it, so it's like fn.php?pid=KEY - I suggest to scramble the APIKey+timestamp for security. This is the approach I'll be taking.
AAW [1525734]

ive started building a few things that will entitle a user too display certain values on a profile direct through the website ;)
AAW [1525734]

its Torn Statistics, but because of the responsive side it makes things look Ugly, so it renames it too Torn Stats for short
AAW [1525734]

You can stop with the sarcasm, The name will change its just for show, its still in Development, ive spoken with Icey :P