def __init__(self, key, secret, protocol='http', host=None, port=None,
                 version='v1', client=None):

        if not host:
            host = "api.bitsontherun.com"

        self._key = key
        self._secret = secret
        self._url = '%s://%s%s/%s' % (protocol, host, ':%s' % port if port else '', version)
        self._kit_version = u'py-%s%s' % (__version__, '-%s' % client if client else '')
Initialize BotR API
dataset/ETHPy150Open rmnl/clack/clack/account_client.py/API.__init__