Skip to main content

Tux Exchange API wrapper for Python 2.7 (superceded by crypto-exchange-apis)

Project description

# python-tuxechange

![python](https://img.shields.io/badge/python-2.7-blue.svg)

Inspired by [this](https://github.com/Olliecad1/Tux_Exchange_Python) wrapper written by [Olliecad1](https://github.com/Olliecad1) and following the example of [this](https://github.com/ericsomdahl/python-bittrex) wrapper written by [Eric Somdahl](https://github.com/ericsomdahl)

> I ([sneurlax](https://github.com/sneurlax)) am not affiliated with, nor paid by [Tux Exchange](https://tuxexchange.com). Use at your own risk.

**Superceded by [crypto-exchange-apis](https://github.com/init-industries/crypto-exchange-apis)**

## Installation

Install with `pip` using `pip install python-tuxexchange`

## Usage

See available methods in the [Tux exchange API docs](https://tuxexchange.com/docs)

```python
from tuxexchange import tuxexchange
tuxexchange = tuxexchange.Tuxexchange()

print tuxexchange.api_query('getcoins')
{'PPC': {'website': 'www.peercoin.org', ...
print tuxexchange.api_query('getticker')
{'BTC_ICN': {'last': '0.00040418', ...
```

[test_manual.py](https://github.com/init-industries/python-tuxexchange/blob/master/tuxexchange/test_manual.py):
```python
from tuxexchange import Tuxexchange

tuxexchange = Tuxexchange()

print tuxexchange.api_query('getcoins')
{'PPC': {'website': 'www.peercoin.org', ...
print tuxexchange.api_query('getticker')
{'BTC_ICN': {'last': '0.00040418', ...
```

## Testing

Run unit tests in [test.py](https://github.com/init-industries/python-tuxexchange/blob/master/tuxexchange/test.py)


Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

python_tuxexchange-0.0.2-py2-none-any.whl (5.3 kB view details)

Uploaded Python 2

File details

Details for the file python_tuxexchange-0.0.2-py2-none-any.whl.

File metadata

File hashes

Hashes for python_tuxexchange-0.0.2-py2-none-any.whl
Algorithm Hash digest
SHA256 ca858a4364c457efcd2fca13a4aa4e8578b02a51ef53b5631374933091b41e8d
MD5 4621d4775ed117b22b839ca7e81bfb75
BLAKE2b-256 63344efe712d800e681c95866edcbf371c8c01d4cca711553dcb88fab51c8c56

See more details on using hashes here.

Supported by

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