mirror of
https://github.com/aljazceru/bitfinex-api-py.git
synced 2025-12-19 06:44:22 +01:00
13 lines
291 B
Python
13 lines
291 B
Python
# python -c "import examples.rest.get_funding_info"
|
|
|
|
import os
|
|
|
|
from bfxapi.client import Client, Constants
|
|
|
|
bfx = Client(
|
|
REST_HOST=Constants.REST_HOST,
|
|
API_KEY=os.getenv("BFX_API_KEY"),
|
|
API_SECRET=os.getenv("BFX_API_SECRET")
|
|
)
|
|
|
|
print(bfx.rest.auth.get_funding_info(key="fUSD")) |