A meta client that makes interracting with several exchanges painless. Mediator knows how to interract with these exchanges so you don't have to.
WARNING: this software is not maintained and anyone who uses it for an actual purpose is an idiot. If you use it (which you shouldn't), it should go without saying that I take no responsibility for what happens to you.
pip install <mediator_tarball>
you will need to install other third-party clients to make this client work:
- python-bittrex: https://github.com/ericsomdahl/python-bittrex
- python-poloniex: https://github.com/s4w3d0ff/python-poloniex
Import the metaclient into your project,
from crypto_mediator import CryptoMediator
- Add the new client library to the requirements.txt file
- Add the new client to the helper map in
client.py
and insettings.py
- Add a new fixtures folder for the endpoints you would like to support
- format is
endpoint.py
, includes request_url and response in file.
- format is
- Add a client helper to helpers.py defining methods for the helper
py.test crypto_mediator/clients/tests
python -i -m crypto_mediator.example