Skip to content
TORNLIFE More

AfricanChild: forum

AfricanChild [3157295] Level 36

Forum posts (Torn's count)
60 observed
Archived posts
57
Threads started (archived)
5

Boards

From the 57 newest archived posts.

Threads started

Most-liked posts

Likes as archived at fetch time, adjusted for how long each post had been up. Scored posts only; the full score pass runs after the import.

[Script/PDA] Torn City Wikipedia Dark Theme · · 32 likes

This is the only working and up to date version of TornDarkWiki, originally created by me, everything else you may see is outdated.

Hello everyone,

After releasing my first creation for Torn City, I spent a lot of time on the Torn City Wiki learning how to progress in the game, which led me to create a long-needed dark theme project called TornDarkWiki.

 

 

Description

A simple project to turn Torn City Wikipedia into a dark theme.

Images


[image: i.imgur.com][image: i.imgur.com][image: i.imgur.com]

 

Feel free to use it on PDA or anywhere you would like!


Thank you

Here is the source code:

GreasyFork (Last Updated: January 15, 2026)
Firefox Add-on/Extension (Outdated) (Last Updated: Dec 27, 2023)

 

 

Special Thanks:

[TornAPI v2] Python Torn API Wrapper (Async/Sync) · · 32 likes

[image: i.imgur.com]

[image: camo.githubusercontent.com] [image: camo.githubusercontent.com] [image: camo.githubusercontent.com] [image: camo.githubusercontent.com]



Hello everyone,

A random advertisement on YouTube and my passion for programming has brought me here today, to create an open-source Python wrapper for the Tom API and my newfound enjoyment for Torn.


 

TornAPIWrapper

TornAPIWrapper is an open-source Python library for interacting with the Torn City API v2, offering access to Torn City data. It covers all available Torn API v2 endpoints and is kept current with the latest updates to the API.

 

It provides sync and async support, built-in API error handling, and a modern API wrapper - all you need to build Discord bots, tools, trackers, dashboards, and websites, while TornAPIWrapper takes care of the rest.

 

 

Instructions

 

  • How to Install Python: YouTube
  • Visit the repository and install TornAPIWrapper: GitHub



 

Sync Code Example

 

from TornAPIWrapper import TornAPIWrapper
 
torn = TornAPIWrapper(api_key="1aBcDeFgH2iJkLmN")
 
print(torn.user.get_profile())

 

 

Thank you


Links to checkout:

Sync/Async Code Examples

GitHub Repository
README.md
TornAPIWrapper (PyPi)

Torn API v2

If you create a project using TornAPIWrapper, let me know! I’d love to see what people create. I wouldn’t mind starting a list of projects built with TornAPIWrapper!

Torn API v2 (Swagger) | Documentation Discrepancy · · 1 like

Discrepancy 1
Endpoint:
/faction/contributors

Parameter name:
stat

Parameter value:
stat = "test"

Return:
{'error': {'code': 25, 'error': 'Invalid stat requested'}}

This error code is not documented in the documentations.

----------------------------------------------

 

Discrepancy 2
Endpoint:
/user/personalstats

Parameter name:
stat
cat

Parameter value:
Any

Return
{'error': {'code': 26, 'error': 'Only category or stats can be requested'}}

This error code is not documented in the documentations.

Graveyard · · 2 likes

‎

Click Here to Logout · · 0 likes

Ever found yourself needing to log out of Torn?

 

Click here

 

Recent archived posts

[TornAPI v2] Python Torn API Wrapper (Async/Sync) ·

Updated to patch 21/08/26:

  • Get rock paper scissors competition stats.
  • Get specific item(s) stats.
  • Get daily city stats.
  • Fixed /torn/itemdetails accepting only one item id.
  • New error code - FileDoesNotExist.
  • Snapshot endpoint headers is fixed.

[TornAPI v2] Python Torn API Wrapper (Async/Sync) ·

Updated to patch 20/08/26:

  • Get your faction's inventory items.
  • Get your faction members crime experience.

 

Some of the faction endpoints could not be tested because they require being in a faction. If there are any issues, please let me know!

[TornAPI v2] Python Torn API Wrapper (Async/Sync) ·

Updated to patch 18/08/26:

  • Get active poker tables
  • Get casino playing cards
  • Get current bank rates
  • Get city shops stock information

[TornAPI v2] Python Torn API Wrapper (Async/Sync) ·

Updated to patch 17/08/26:

  • Get your currently active gym
  • Get all gyms
  • Get search for cash crime statuses
  • Get shoplifting crime statuses (You can use this long awaited endpoint to notify you when its best to shoplift)
  • Get all your achieved medals or for a specific player.
  • Split 'faction' -> 'warfare' into 5 selections and also deprecated 'faction' -> 'warfare'. This selection will be removed on 1st of January 2027 by torn developers.
  • They have been split into: faction / warfarechains, warfareraids, warfareranked, warfareterritory, dirtybombs, all which have been implemented to TornAPIWrapper.
    /faction/warefare has been removed from TornAPIWrapper.

[TornAPI v2] Python Torn API Wrapper (Async/Sync) ·

Updated to patch 12/08/26:

  • Search for Torn players using usernames or specific filters e.g. married.
  • Get details of all companies using the /torn/companies endpoint.

[TornAPI v2] Python Torn API Wrapper (Async/Sync) ·

Updated to patch 06/08/26:

  • Get the public points market listings.
  • Get your networth.
  • Get your current perks.
  • Removed columns from the get_snapshot endpoint.

[TornAPI v2] Python Torn API Wrapper (Async/Sync) · · 1 like

Hello everyone,

I would like to thank you for a big 20,000 downloads of TornAPIWrapper on PyPi.

What's new (Updated to patch 27/07/26):

  • Get daily active players snapshot in CSV format.
  • Get a list of all museum sets.

 

Thank you for your support,

AfricanChild

[TornAPI v2] Python Torn API Wrapper (Async/Sync) ·

Updated to patch 16.07.2026.

 

What's new:

  • Get daily factions snapshot in CSV format.

[TornAPI v2] Python Torn API Wrapper (Async/Sync) ·

There are API wrappers for Torn in other languages, but as far as I am aware, I don't believe there are any in R.

[TornAPI v2] Python Torn API Wrapper (Async/Sync) ·

Updated to patch 01.06.2026.

 

What's new:

  • Search companies by name or other criteria.
  • Get your daily company snapshot in CSV format.

[TornAPI v2] Python Torn API Wrapper (Async/Sync) ·

Updated to patch 21.05.2026.

 

What's new:

  • Access your company's news details.
  • Access a list of companies for a specific company type.

[TornAPI v2] Python Torn API Wrapper (Async/Sync) · · 1 like

Updated to patch 08.05.2026.

 

What's new:

  • Get your information about available item mods.

Note from Torn Developer: This endpoint will become available likely on Monday, May 11th 2026.

 

[TornAPI v2] Python Torn API Wrapper (Async/Sync) ·

Updated to patch 30.04.2026.

 

What's new:

  • Get your company profile details.
  • Get your company employees details.
  • Get your company stock details.
  • Get your company applications details.

[TornAPI v2] Python Torn API Wrapper (Async/Sync) ·

Updated to patch 20.04.2026.

 

What's new:

  • Get your casino streak & tokens details.

[TornAPI v2] Python Torn API Wrapper (Async/Sync) ·

Updated to patch 15.04.2026.

 

What's new:

  • Get your inventory details.

[TornAPI v2] Python Torn API Wrapper (Async/Sync) ·

Updated params/description from Torn API (Swagger) update.

 

What's new:

  • Added param limit to faction.py crimes endpoint.
  • Updated the description for reports endpoint in faction.py and user.py

[TornAPI v2] Python Torn API Wrapper (Async/Sync) ·

Updated to patch 10.03.2026.

 

What's new:

  • Access all your ongoing or finished trades.
  • Access all your specific trade details.

[TornAPI v2] Python Torn API Wrapper (Async/Sync) · · 2 likes

Updated to patch 23.02.2026.

What's new:

  • Access All Torn stocks.
  • Access Torn specific stocks with chart history.
  • Access User stocks.

[TornAPI v2] Python Torn API Wrapper (Async/Sync) ·

Updated to patch 19.02.2026.

What's new:

  • [API-v2] Added new selection 'user' -> 'organizedcrimes' (Minimal access key). This selection only shows organized crimes with Recruiting status, and only contains empty slots.

Torn Genie [PAUSED] ·

I wish i can get a really fast car to race.