Skip to content
TORNLIFE More

API/personalstats.php Personal Stats differences

Started by Marc [24377] on in Bugs & Issues.

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

Posts archived: 6 / 6 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
6
Discussion span
→
People posting
3
Likes on archived posts
5
Posts by staff, officers and moderators
2
Authority score
59 / 100
Historical score
30 / 100
Story score
38 / 100
Engagement score
47 / 100

Most-liked replies

Marc [24377]

There are a few differences in what fields are available in the API (http://api.torn.com/user/258120?selections=personalstats&key=) and what's shown on the personal stats page (when comparing yours to others, such as http://www.torn.com/personalstats.php?ID=258120).

On the API, there are three fields which seem to be missing from the comparison personal stats page:
itemswon
attackhits*
attackmisses*
* These are both on your personal stats page, where more stats are available to you (http://www.torn.com/personalstats.php)

On the comparison personal stats page, there are several fields which are missing from the API:
Communication
Classified ads placed
Personals placed
Criminal Offences
Criminal offences
Selling illegal goods
Theft
Auto theft
Drug deals
Computer crimes
Fraud
Murder
Other
Missions
Missions completed
Duke contracts completed
Contracts completed
Mission credits earned
Other
Times voted

Would be nice to get these matching as it makes it easier for developers to do comparisons in their scripts.
Chedburn [1] Admin Developer

Hits and Misses are not shown for the same reason Total damage, Best damage, and One hit kills are not shown.

"Items won" is "Auctions won" in the personal stats page.

I enabled the mission related stats on the API.

I removed 'Times voted' from personal stats page.

Criminal offences on the current crimes system are not part of the personal stats system so will not be shown on the API

Classified ads and personals placed do appear on the API under different names.

Any changes will be live tomorrow.

Thanks.
Chedburn [1] Admin Developer

Oh okay I see. Those will be removed from API tomorrow.

I'm not sure what 'itemswon' is then, I'll just remove it.

Criminal offences is not within the personal stats system although does appear on the personal stats page.