Skip to content

cowalla/mediator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MEDIATOR

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.

Getting started

pip install <mediator_tarball>

you will need to install other third-party clients to make this client work:

Use

Import the metaclient into your project,

  • from crypto_mediator import CryptoMediator

Adding new exchanges to the MetaClient

  • Add the new client library to the requirements.txt file
  • Add the new client to the helper map in client.py and in settings.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.
  • Add a client helper to helpers.py defining methods for the helper

testing

  • py.test crypto_mediator/clients/tests

example shell

  • python -i -m crypto_mediator.example

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages