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.18.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.18.0
File Size Uploaded Provenance Actions
tornapiwrapper-2.18.0.tar.gz 39.4 kB With provenance Details for tornapiwrapper-2.18.0.tar.gz

Built distribution (wheel)

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

Total release size: 107.3 kB

Release files / tornapiwrapper-2.18.0.tar.gz

Download URL tornapiwrapper-2.18.0.tar.gz
Size 39.4 kB
Tags Source
SHA-256 checksum
How to use checksums
c9892fd860a9934082c060bce4ff46b920dba5a932497ea3ebfeed01392f21b6
BLAKE2b-256 checksum
How to use checksums
8c31c77a773e5aea4d72911ee36f85fa50f9f8a31f976b7485e67fa876243b07
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Oct 27, 2026.

Transparency log

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

Download URL tornapiwrapper-2.18.0-py3-none-any.whl
Size 67.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d357840b36ebf0c78c070e7fe10827571149374705d3c82df668c523413f020c
BLAKE2b-256 checksum
How to use checksums
3d325e6b1b7dd1ae16c643a7c174e052e31ad639e65f11b2b4f97813c964f029
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Oct 27, 2026.

Transparency log

Security for TornAPIWrapper 2.18.0

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for tornapiwrapper-2.18.0.tar.gz

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 Oct 27, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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