Skip to main content

Tux Exchange API wrapper for Python 2.7

Project description

# python-tuxexchange

# Developed By Sneurlax
# https://github.com/sneurlax
# [Original PyPi](https://pypi.python.org/pypi/python-tuxexchange/0.0.1)

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

# [Guides For Installation](https://github.com/Olliecad1/python-tuxexchange-Wrapper/tree/master/Guides)



## [PyPi Link](https://pypi.python.org/pypi/python-tuxexchange-Wrapper)

```
$ 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
- https://pypi.python.org/pypi/requests



## 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()
print tuxexchange.getMyWithdrawHistory()
print tuxexchange.getMyAddresses()
```


## Testing

Run unit tests in [test.py](https://github.com/olliecad1/python-tuxexchange/blob/master/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 Distribution

python-tuxexchange-Wrapper-1.0.tar.gz (2.0 kB view details)

Uploaded Source

Built Distribution

python_tuxexchange_Wrapper-1.0-py2.7.egg (1.7 kB view details)

Uploaded Egg

File details

Details for the file python-tuxexchange-Wrapper-1.0.tar.gz.

File metadata

File hashes

Hashes for python-tuxexchange-Wrapper-1.0.tar.gz
Algorithm Hash digest
SHA256 9d3851411879b51e6fee9ef931e29c252de9f9a1a2b01d64a1cdadbade146fef
MD5 3e82778bb734a1832c5c0a1e5b7dd4a8
BLAKE2b-256 ce3f93a8e6771737c6a5b2e32a727fc5afdecfe4c16dd4d093911e35f843a1b4

See more details on using hashes here.

File details

Details for the file python_tuxexchange_Wrapper-1.0-py2.7.egg.

File metadata

File hashes

Hashes for python_tuxexchange_Wrapper-1.0-py2.7.egg
Algorithm Hash digest
SHA256 5a4a5b70a1de2b2b9a4c0f881328dd4e3b095a3c482d8303ce5c2446fb338be7
MD5 6e19d684b3d70af731e66beb909e1eb3
BLAKE2b-256 4b6676bd793954bb4f9db3eedc599e565b79d278ec1e1af1cc1a3b9e195f7f7c

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