mirror of
https://github.com/aljazceru/bitfinex-api-py.git
synced 2025-12-18 22:34:21 +01:00
15 lines
530 B
Python
15 lines
530 B
Python
from .rest_auth_endpoints import RestAuthEndpoints
|
|
from .rest_merchant_endpoints import RestMerchantEndpoints
|
|
from .rest_public_endpoints import RestPublicEndpoints
|
|
|
|
|
|
class BfxRestInterface:
|
|
VERSION = 2
|
|
|
|
def __init__(self, host, api_key=None, api_secret=None):
|
|
self.public = RestPublicEndpoints(host=host)
|
|
self.auth = RestAuthEndpoints(host=host, api_key=api_key, api_secret=api_secret)
|
|
self.merchant = RestMerchantEndpoints(
|
|
host=host, api_key=api_key, api_secret=api_secret
|
|
)
|