Tux Exchange API wrapper for Python 2.7
Project description
# python-tuxexchange
# Developed By Sneurlax
# https://github.com/sneurlax
![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
## Step 1
### Git clone the github page
```
sudo git clone https://github.com/Olliecad1/python-tuxexchange
```
## Step 2
### Change Directory into python-tuxexchange
```
cd python-tuxexchange
```
### Step 3
### Adding Tux Exchange Public and Private Key to tuxexchange.py file
```
sudo nano tuxexchange.py
```
### go down until you see PublKey = ('') PrivKey = ('') just to add your public and private keys in the between the ''
## Step 4
### Building and Installing the setup file
```
sudo python setup.py build
sudo python setup.py install
```
## Step 5
### If you are on a Linux Machine or Raspberry pi
```
sudo mv tuxexchange.py /usr/lib/python2.7/dist-packages/
```
## Usage
See available methods in the [Tux exchange API docs](https://tuxexchange.com/docs)
[test_manual.py](https://github.com/olliecad1/python-tuxexchange/blob/master/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', ...
```
## Get Balance api, NEEDS PRIVATE AND PUBLIC KEY ACCESS
```python
from tuxexchange import Tuxexchange
tuxexchange = Tuxexchange()
print tuxexchange.getBalances()
```
## Testing
Run unit tests in [test.py](https://github.com/olliecad1/python-tuxexchange/blob/master/test.py)
# Developed By Sneurlax
# https://github.com/sneurlax
![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
## Step 1
### Git clone the github page
```
sudo git clone https://github.com/Olliecad1/python-tuxexchange
```
## Step 2
### Change Directory into python-tuxexchange
```
cd python-tuxexchange
```
### Step 3
### Adding Tux Exchange Public and Private Key to tuxexchange.py file
```
sudo nano tuxexchange.py
```
### go down until you see PublKey = ('') PrivKey = ('') just to add your public and private keys in the between the ''
## Step 4
### Building and Installing the setup file
```
sudo python setup.py build
sudo python setup.py install
```
## Step 5
### If you are on a Linux Machine or Raspberry pi
```
sudo mv tuxexchange.py /usr/lib/python2.7/dist-packages/
```
## Usage
See available methods in the [Tux exchange API docs](https://tuxexchange.com/docs)
[test_manual.py](https://github.com/olliecad1/python-tuxexchange/blob/master/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', ...
```
## Get Balance api, NEEDS PRIVATE AND PUBLIC KEY ACCESS
```python
from tuxexchange import Tuxexchange
tuxexchange = Tuxexchange()
print tuxexchange.getBalances()
```
## Testing
Run unit tests in [test.py](https://github.com/olliecad1/python-tuxexchange/blob/master/test.py)
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 Distributions
Close
Hashes for python-tuxexchange-Wrapper-1.0.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f6cfb1777adf9eb35d508c4cc15ab9aee5f47a08a7e3d42b5ce9d47bd47494ea |
|
MD5 | 5898c027a08268960a3a3310e8e95d14 |
|
BLAKE2b-256 | edd6010325c1a1b75f24ec64e273f0093a639ee47ba6360146496744f07a01c8 |
Close
Hashes for python_tuxexchange_Wrapper-1.0.0-py2.7.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | e83d683fe4b25847f0614d346e2c87d9e060a9341e0cf626ec3e0f88f7547170 |
|
MD5 | 180ec3b865c433dba33e822b001df5da |
|
BLAKE2b-256 | 1fe929289530758286a58a3cefb7eafc48d50c05305af1d5db7297d43a6f0077 |
Close
Hashes for python_tuxexchange_Wrapper-1.0.0-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9d575853d924708023de34d3bf541b3dbdae778113c4d9d72547049ac2cb1f1c |
|
MD5 | 3850c685373e67faf05a9e7d77e1c51f |
|
BLAKE2b-256 | 1fd0664b6bda480da2fe60d41429cd0ebd819fcbc256f872982a1215637c4531 |