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.

Filename, size & hash SHA256 hash help File type Python version Upload date
python_tuxexchange-0.0.2-py2-none-any.whl (5.3 kB) Copy SHA256 hash SHA256 Wheel py2

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page