Skip to main content
Banner
MIT License

🌃 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

  1. Install the TornAPIWrapper package by typing pip install tornapiwrapper in your terminal.
  2. Check out examples and documentations to familiarize yourself with the API.
  3. Create an API key.
  4. 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

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.17.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for TornAPIWrapper 2.17.0
File Size Uploaded
tornapiwrapper-2.17.0.tar.gz 39.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for TornAPIWrapper 2.17.0
File Interpreter ABI Platform
tornapiwrapper-2.17.0-py3-none-any.whl Python 3 none any Details

Total release size: 106.4 kB

Release files / tornapiwrapper-2.17.0.tar.gz

Download URL tornapiwrapper-2.17.0.tar.gz
Size 39.0 kB
Tags Source
SHA-256 checksum
How to use checksums
779d09526798de86a5bf18c96c26751c34598ebf8cebcc754577890cb9e3521e
BLAKE2b-256 checksum
How to use checksums
3eb60b05a37d77102c3cf2d6bb5c3a92e11ba74c079dadd9dd792329ff90f446
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 21, 2026.

Transparency log

Release files / tornapiwrapper-2.17.0-py3-none-any.whl

Download URL tornapiwrapper-2.17.0-py3-none-any.whl
Size 67.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d895ff3085fca62dc490076fe5dcbd21ba030bbc321a3ed7cf2ef540abe865a6
BLAKE2b-256 checksum
How to use checksums
baca946b61c8597b894833e820dd26ee01de4605e374f53c9b589ffbf2c5b416
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 21, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

2.17.0 This release

2 release files

2.16.0

2 release files

2.15.0

2 release files

2.14.0

2 release files

2.13.0

2 release files

2.11.0

2 release files

2.10.1

2 release files

2.10.0

2 release files

2.9.1

2 release files

2.9.0

2 release files

2.8.0

2 release files

2.7.0

2 release files

2.6.0

2 release files

2.5.0

2 release files

2.4.0

2 release files

2.3.1

2 release files

2.3.0

2 release files

2.2.0

2 release files

2.1.1

2 release files

2.1.0

2 release files

2.0.1

2 release files

1.0.3

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page