python-tuxexchange-Wrapper

Tux Exchange API wrapper for Python 2.7


Keywords
cryptocurrency, exchange, bitcoin, trading, Tuxexchange
License
MIT
Install
pip install python-tuxexchange-Wrapper==1.0

Documentation

python-tuxexchange

Developed By Sneurlax

https://github.com/sneurlax

Original PyPi

python

Guides For Installation

PyPi Link

$ sudo apt-get install python-requests

Use

$ sudo pip install requests

If you have pip installed

On OSX you can also use

sudo easy_install -U requests

if you have easy_install installed.

Windows

This might help: http://stackoverflow.com/questions/17309288/importerror-no-module-named-requests

Dependencies

Usage

See available methods in the Tux exchange API docs

test_manual.py:

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

from tuxexchange import Tuxexchange

tuxexchange = Tuxexchange()

print tuxexchange.getBalances()
print tuxexchange.getMyWithdrawHistory()
print tuxexchange.getMyAddresses()

Testing

Run unit tests in test.py