Skip to main content

TSAW : Torrent Server API Wrapper.

Project description

# TSAW

TSAW Torrent Server API Wrapper.

More information about the api at http://ion-torrent-sdk.readthedocs.io/en/latest/

---

## Requirements

- python 2.7, 3.x
- requests

### Installation

- via pip : `pip install tsaw`

---

## Usage example

- Get 10 last results for plugin with id 42

```python
from tsaw import TorrentServerApi

#Adapt the following line with your server address and credentials
ts = TorrentServerApi("http://myserver/rundb/api/v1/", "ION_TS_USERNAME", "ION_TS_PASSWORD")
pluginresults = ts.pluginresult(params={"format": "json", "limit": 10, "order_by": "-id", "plugin": "42"})

#Do whatever you want with your pluginresults["objects"]
```

Project details


Download files

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

Files for tsaw, version 0.4.7
Filename, size File type Python version Upload date Hashes
Filename, size tsaw-0.4.7.tar.gz (2.6 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page