🌃 TornAPIWrapper
A Python wrapper for the Torn City API v2, providing access to Torn City data.
✨ Features
- Sync and async support.
- Built-in API error handling.
- Modern, Pythonic API wrapper.
💾 Instructions
- Install the TornAPIWrapper package by typing
pip install tornapiwrapperin your terminal. - Check out examples and documentations to familiarize yourself with the API.
- Create an API key.
- Start programming!
📑 Documentations
There are two Torn City API documentations that I recommend reading to understand how the Torn API and TornAPIWrapper work.
- Official Torn API Docs v2: Used by this project - best for endpoints, parameters, response schemas, and searching what to call and request.
- Official Torn API Docs v1: Useful reference - explains API keys, access levels, limits, error codes, and ToS details not covered in v2.
💝 Contributors
View CONTRIBUTING.md to contribute.
📜 License
[!NOTE] This is not legal advice.
The content and software in this repository are licensed under the MIT License, a simple and permissive license that allows use, modification, and distribution as long as the license notice is preserved.
Metadata
Release files for TornAPIWrapper 2.16.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| tornapiwrapper-2.16.0.tar.gz | 38.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| tornapiwrapper-2.16.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 106.3 kB
Release files / tornapiwrapper-2.16.0.tar.gz
| Download URL | tornapiwrapper-2.16.0.tar.gz |
|---|---|
| Size | 38.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
84be1f3d8fbe11ddce7832144821ef0d20e5f12de92a1583f64770e8ce3dab50
|
|
BLAKE2b-256 checksum How to use checksums |
4ba80b6275238211f08991d32082eedfd0df47a3d3917799c7667419d8782cb4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 20, 2026.
Transparency logRelease files / tornapiwrapper-2.16.0-py3-none-any.whl
| Download URL | tornapiwrapper-2.16.0-py3-none-any.whl |
|---|---|
| Size | 67.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d357b0cf4e855e48516b7ee4c6af695d2eafc670d771e19ab4f39d1179cf9370
|
|
BLAKE2b-256 checksum How to use checksums |
082e9b21821004732179f6a6dcc33ba880a64ce3526e08f91d56d5c262fba05a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 20, 2026.
Transparency log