def __init__(self, client_id: str, client_secret: str, api_url: Optional[ApiUrl] = None): setup_api_url = get_api_url( api_url, None, host="oauth.zaif.jp", version="v1", dirs=["token"] ) super().__init__(setup_api_url) self._client_id = client_id self._client_secret = client_secret
def __init__(self, api_url=None): api_url = get_api_url(api_url, "stream", protocol="wss", host="ws.zaif.jp", port=8888) super().__init__(api_url) self._continue = True
def __init__(self, client_id, client_secret, api_url=None): api_url = get_api_url(api_url, None, host='oauth.zaif.jp', version='v1', dirs=['token']) super().__init__(api_url) self._client_id = client_id self._client_secret = client_secret
def __init__(self, api_url=None): api_url = get_api_url(api_url, "fapi", version=1) super().__init__(api_url, FuturesPublicApiValidator())
def __init__(self, api_url: Optional[ApiUrl] = None): super().__init__(get_api_url(api_url, "api", version="1"))
def __init__(self, key, secret, api_url=None): super().__init__(get_api_url(api_url, 'tapi')) self._key = key self._secret = secret
def __init__(self, key, secret, api_url=None): api_url = get_api_url(api_url, 'tlapi') super().__init__(api_url) self._key = key self._secret = secret
def __init__(self, api_url=None): super().__init__(get_api_url(api_url, 'api', version=1))
def __init__(self, api_url=None): api_url = get_api_url(api_url, 'stream', protocol='wss', host='ws.zaif.jp', port=8888) super().__init__(api_url) self._continue = True
def __init__(self, key, secret, api_url=None, loop=None): super().__init__(key, secret, get_api_url(api_url, 'tlapi')) self._timeout = 3 self.loop = loop or asyncio.get_event_loop()
def __init__(self, api_url=None, loop=None): super().__init__(get_api_url(api_url, 'api', version=1)) self._timeout = 3 self.loop = loop or asyncio.get_event_loop()