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.

Source Distribution

tsaw-0.4.3.tar.gz (2.5 kB view details)

Uploaded Source

File details

Details for the file tsaw-0.4.3.tar.gz.

File metadata

  • Download URL: tsaw-0.4.3.tar.gz
  • Upload date:
  • Size: 2.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for tsaw-0.4.3.tar.gz
Algorithm Hash digest
SHA256 284adab51e30a69f4ca7470860707fff37a92b47559f87c9180766de3ab56484
MD5 5ec33b5877303a5d03404d80f1433f98
BLAKE2b-256 840b5e1a95557b2b49c9cff4d2ea55e2196d783200491fc1cd13153c875c9eba

See more details on using hashes here.

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