A Python wrapper for the Torn City API, providing access to Torn City data.
Project description
🌃 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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file tornapiwrapper-2.5.0.tar.gz.
File metadata
- Download URL: tornapiwrapper-2.5.0.tar.gz
- Upload date:
- Size: 34.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0f3d1183c5a7e39e51fde51ce173380f9ae26a2f91b0168c4f725b2534007554
|
|
| MD5 |
8367acd86a37185ca0586c8c26886240
|
|
| BLAKE2b-256 |
ed39f4979388c1b5a3ea6a4b6d8bb1ebf68e0ab85353f63ebb73fe6ce39a8c2e
|
Provenance
The following attestation bundles were made for tornapiwrapper-2.5.0.tar.gz:
Publisher:
python-publish.yml on cxdzc/TornAPIWrapper
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
tornapiwrapper-2.5.0.tar.gz -
Subject digest:
0f3d1183c5a7e39e51fde51ce173380f9ae26a2f91b0168c4f725b2534007554 - Sigstore transparency entry: 1343770709
- Sigstore integration time:
-
Permalink:
cxdzc/TornAPIWrapper@e0545dbae67ebe39dd028d1dfe6ae052b8552c55 -
Branch / Tag:
refs/tags/v2.5.0 - Owner: https://github.com/cxdzc
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@e0545dbae67ebe39dd028d1dfe6ae052b8552c55 -
Trigger Event:
release
-
Statement type:
File details
Details for the file tornapiwrapper-2.5.0-py3-none-any.whl.
File metadata
- Download URL: tornapiwrapper-2.5.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f199986bea6af0626f50e0e73c388902c515c04cea01edec1deb0e9c2e512646
|
|
| MD5 |
3b75b62a14a6c0be2bd90cf5efc42169
|
|
| BLAKE2b-256 |
f26621fc1cabcf7fa437220f0ccc72d186195a3db7bbc00794f949f154b76330
|
Provenance
The following attestation bundles were made for tornapiwrapper-2.5.0-py3-none-any.whl:
Publisher:
python-publish.yml on cxdzc/TornAPIWrapper
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
tornapiwrapper-2.5.0-py3-none-any.whl -
Subject digest:
f199986bea6af0626f50e0e73c388902c515c04cea01edec1deb0e9c2e512646 - Sigstore transparency entry: 1343770731
- Sigstore integration time:
-
Permalink:
cxdzc/TornAPIWrapper@e0545dbae67ebe39dd028d1dfe6ae052b8552c55 -
Branch / Tag:
refs/tags/v2.5.0 - Owner: https://github.com/cxdzc
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@e0545dbae67ebe39dd028d1dfe6ae052b8552c55 -
Trigger Event:
release
-
Statement type: