python-tuxexchange
Developed By Sneurlax
$ 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