Skip to main content

A Python wrapper for the Torn City API, providing access to Torn City data.

Project description

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

[!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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tornapiwrapper-2.4.0.tar.gz (34.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tornapiwrapper-2.4.0-py3-none-any.whl (60.1 kB view details)

Uploaded Python 3

File details

Details for the file tornapiwrapper-2.4.0.tar.gz.

File metadata

  • Download URL: tornapiwrapper-2.4.0.tar.gz
  • Upload date:
  • Size: 34.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for tornapiwrapper-2.4.0.tar.gz
Algorithm Hash digest
SHA256 77f58cb9cc460c466c5936da7920203b0ea1f0b97b1dda3dd8af41d28d719707
MD5 9a917baa6f1f64bd7c75a2db2ef8403a
BLAKE2b-256 a8ecc06228c179e624a846daa5c0155fc0a7d2e4510d316aa04178b72311ce57

See more details on using hashes here.

Provenance

The following attestation bundles were made for tornapiwrapper-2.4.0.tar.gz:

Publisher: python-publish.yml on cxdzc/TornAPIWrapper

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file tornapiwrapper-2.4.0-py3-none-any.whl.

File metadata

  • Download URL: tornapiwrapper-2.4.0-py3-none-any.whl
  • Upload date:
  • Size: 60.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for tornapiwrapper-2.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c4bae27faf9bc109e55f385ce102c2fff0d7b9af47a1d0fe7b614c4bf54ec2a3
MD5 405b3152ca788861b59e7b15a3d51359
BLAKE2b-256 ab47aee92942e44b8210b040c2f8400d546687e1f15598991eebc056eca781c1

See more details on using hashes here.

Provenance

The following attestation bundles were made for tornapiwrapper-2.4.0-py3-none-any.whl:

Publisher: python-publish.yml on cxdzc/TornAPIWrapper

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page