Cryptocurrenty exchange API wrappers
Project description
# Crypto Exchange APIs
![python](https://img.shields.io/badge/python-2.7-blue.svg)
Inspired by [BitEx](https://github.com/nlsdfnbch/bitex) written by [nlsdfnbch](https://github.com/nlsdfnbch) (Python 3)
## Installation
Install with `pip` using `pip install crypto-exchange-apis`
## Usage
##### [Bittrex](https://bittrex.com/) ([API docs](https://bittrex.com/home/api))
[test_manual.py](https://github.com/init-industries/crypto-exchange-apis/blob/master/crypto_exchange_apis/test_manual.py):
```python
from crypto_exchange_apis import Bittrex
bittrex = Bittrex()
print bittrex.get_currencies()
{'message': '', 'result': [{'Notice': None, 'TxFee': 0.001, 'CurrencyLo...
print bittrex.get_markets()
{'message': '', 'result': [{'Notice': None, 'Created': '2014-02-13T00:0...
```
##### [Poloniex](https://poloniex.com/) ([API docs](https://poloniex.com/support/api))
[test_manual.py](https://github.com/init-industries/crypto-exchange-apis/blob/master/crypto_exchange_apis/test_manual.py):
```python
from crypto_exchange_apis import Poloniex
poloniex = Poloniex()
poloniex.returnTicker()['BTC_XMR']
{'last': 0.01929211, 'quoteVolume': 29239.14327161, 'high24hr': 0.02068574...
```
##### [Tux Exchange](https://tuxexchange.com/) ([API docs](https://tuxexchange.com/docs))
[test_manual.py](https://github.com/init-industries/crypto-exchange-apis/blob/master/crypto_exchange_apis/test_manual.py):
```python
from crypto_exchange_apis import Tuxexchange
tuxexchange = Tuxexchange()
print tuxexchange.api_query('getcoins')
{'PPC': {'website': 'www.peercoin.org', 'minconfs': '2', 'name': 'Peer...
print tuxexchange.api_query('getticker')
{'BTC_ICN': {'last': '0.00040418', 'quoteVolume': '0', 'high24hr': '0'...
```
## Testing
Run unit tests in [test.py](https://github.com/init-industries/crypto-exchange-apis/blob/master/crypto_exchange_apis/test.py)
## Credits
Uses:
- [python-bittrex](https://github.com/ericsomdahl/python-bittrex) by [ericsomdahl](https://github.com/ericsomdahl)
- [poloniex](https://github.com/Aula13/poloniex) by [Aula13](https://github.com/Aula13)
![python](https://img.shields.io/badge/python-2.7-blue.svg)
Inspired by [BitEx](https://github.com/nlsdfnbch/bitex) written by [nlsdfnbch](https://github.com/nlsdfnbch) (Python 3)
## Installation
Install with `pip` using `pip install crypto-exchange-apis`
## Usage
##### [Bittrex](https://bittrex.com/) ([API docs](https://bittrex.com/home/api))
[test_manual.py](https://github.com/init-industries/crypto-exchange-apis/blob/master/crypto_exchange_apis/test_manual.py):
```python
from crypto_exchange_apis import Bittrex
bittrex = Bittrex()
print bittrex.get_currencies()
{'message': '', 'result': [{'Notice': None, 'TxFee': 0.001, 'CurrencyLo...
print bittrex.get_markets()
{'message': '', 'result': [{'Notice': None, 'Created': '2014-02-13T00:0...
```
##### [Poloniex](https://poloniex.com/) ([API docs](https://poloniex.com/support/api))
[test_manual.py](https://github.com/init-industries/crypto-exchange-apis/blob/master/crypto_exchange_apis/test_manual.py):
```python
from crypto_exchange_apis import Poloniex
poloniex = Poloniex()
poloniex.returnTicker()['BTC_XMR']
{'last': 0.01929211, 'quoteVolume': 29239.14327161, 'high24hr': 0.02068574...
```
##### [Tux Exchange](https://tuxexchange.com/) ([API docs](https://tuxexchange.com/docs))
[test_manual.py](https://github.com/init-industries/crypto-exchange-apis/blob/master/crypto_exchange_apis/test_manual.py):
```python
from crypto_exchange_apis import Tuxexchange
tuxexchange = Tuxexchange()
print tuxexchange.api_query('getcoins')
{'PPC': {'website': 'www.peercoin.org', 'minconfs': '2', 'name': 'Peer...
print tuxexchange.api_query('getticker')
{'BTC_ICN': {'last': '0.00040418', 'quoteVolume': '0', 'high24hr': '0'...
```
## Testing
Run unit tests in [test.py](https://github.com/init-industries/crypto-exchange-apis/blob/master/crypto_exchange_apis/test.py)
## Credits
Uses:
- [python-bittrex](https://github.com/ericsomdahl/python-bittrex) by [ericsomdahl](https://github.com/ericsomdahl)
- [poloniex](https://github.com/Aula13/poloniex) by [Aula13](https://github.com/Aula13)
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
crypto-exchange-apis-0.3.0.tar.gz
(14.1 kB
view hashes)
Built Distribution
Close
Hashes for crypto-exchange-apis-0.3.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2fe14ab60f63d8a3bf7a6276070c3a8183353d507cc1796dd8c01ae8d2ba543a |
|
MD5 | 6ad4d0a251ea11e322e7eb52f0ee07e9 |
|
BLAKE2b-256 | 5201ac50461940abb578a3a6a5c66de23c022977d0114a5685e97229688d8264 |
Close
Hashes for crypto_exchange_apis-0.3.0-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 30c2c9edc72c5768c22c14e45ae668e148d620d722b66fe01be4f3c61693157f |
|
MD5 | 23a6787625c44220225b0e56b9f11caa |
|
BLAKE2b-256 | 9e40e2c781ad4816d0a5f4ab9fae5047b527c14ecd51e4db96fad7279dcf13b7 |