A wrapper for Firi API
Project description
Firi API wrapper
Python3 wrapper around the Firi Trading API (1.0.0)
📦 Installation
PyPI
pip install -U firipy
🚀 Usage
API Key from Firi is required:
from firipy import FiriAPI
firi = FiriAPI(token='YOUR_API_KEY')
print(firi.balance())
🔌 Endpoints included
:book: Firi Trading API (1.0.0) for more details
time
-
/time Get current timestamp in epoch
firi.time()
history_transactions
- /v2/history/transactions?count=100000000000000000000
firi.history_transactions()
history_transactions_year
- /v2/history/transactions/{year}
firi.history_transactions_year(year):
history_transactions_month_year
- /v2/history/transactions/{month}/{year}
firi.history_transactions_month_year(month, year):
history_trades
- /v2/history/trades
firi.history_trades()
history_trades_year
- /v2/history/trades/{year}
firi.history_trades_year(year):
history_trades_month_year
- /v2/history/trades/{month}/{year}
firi.history_trades_month_year(month, year):
history_orders
- /v2/history/orders
firi.history_orders()
history_orders_market
- /v2/history/orders/{market}
firi.history_orders_market(market):
markets_market_history
- /v2/markets/{market}/history
firi.markets_market_history(market):
markets_market_depth
- /v2/markets/{market}/depth
firi.markets_market_depth(market):
markets_market
- /v2/markets/{market}
firi.markets_market(market):
markets
- /v2/markets
firi.markets()
markets_market_ticker
- /v2/markets/{market}/ticker
firi.markets_market_ticker(market):
markets_tickers
- /v2/markets/tickers
firi.markets_tickers()
xrp_withdraw_pending
- /v2/XRP/withdraw/pending
firi.xrp_withdraw_pending()
xrp_withdraw_address
- /v2/XRP/address
firi.xrp_withdraw_address()
ltc_withdraw_pending
- /v2/LTC/withdraw/pending
firi.ltc_withdraw_pending()
ltc_withdraw_address
- /v2/LTC/address
firi.ltc_withdraw_address()
eth_withdraw_pending
- /v2/ETH/withdraw/pending
firi.eth_withdraw_pending()
eth_Address
- /v2/ETH/address
firi.eth_Address()
dai_withdraw_pending
- /v2/DAI/withdraw/pending
firi.dai_withdraw_pending()
dai_Address
- /v2/DAI/address
firi.dai_Address()
dot_Address
- /v2/DOT/address
firi.dot_Address()
dot_withdraw_pending
- /v2/DOT/withdraw/pending
firi.dot_withdraw_pending()
btc_withdraw_pending
- /v2/BTC/withdraw/pending
firi.btc_withdraw_pending()
btc_Address
- /v2/BTC/address
firi.btc_Address()
ada_withdraw_pending
- /v2/ADA/withdraw/pending
firi.ada_withdraw_pending()
ada_Address
- /v2/ADA/address
firi.ada_Address()
deposit_history
- /v2/deposit/history?count=1000000
firi.deposit_history()
deposit_address
- /v2/deposit/address
firi.deposit_address()
orders
- /v2/orders
firi.orders()
orders_market
- /v2/orders/{market}
firi.orders_market(market):
orders_market_history
- /v2/orders/{market}/history
firi.orders_market_history(market):
orders_history
- /v2/orders/history
firi.orders_history()
order_orderid
- /v2/order/{orderID}
firi.order_orderid(orderID):
balances
- /v2/balances
firi.balances()
delete_orders
- /v2/orders
firi.delete_orders()
delete_oders_orderid_market_detailed
- /v2/orders/{orderID}/{market}/detailed
firi.delete_oders_orderid_market_detailed(orderID, market):
delete_oders_orderid_detailed
- /v2/orders/{orderID}/detailed
firi.delete_oders_orderid_detailed(orderID):
delete_orders_marketormarketsid
- /v2/orders/{marketOrMarketID}
firi.delete_orders_marketormarketsid(marketOrMarketID):
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
firipy-0.0.5.tar.gz
(3.8 kB
view details)
Built Distribution
File details
Details for the file firipy-0.0.5.tar.gz
.
File metadata
- Download URL: firipy-0.0.5.tar.gz
- Upload date:
- Size: 3.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.17
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 906c8ea94522aee1310deb2b773c1c917b660def03e5eb9f4fed7eaf5b1e2e15 |
|
MD5 | 642ea8c3bd44d2887bcd5c4d6014b47f |
|
BLAKE2b-256 | 72a4b6c805136be690d9066aefd8fa18045b1a3ac6082f50d87942628bc52c66 |
Provenance
File details
Details for the file firipy-0.0.5-py3-none-any.whl
.
File metadata
- Download URL: firipy-0.0.5-py3-none-any.whl
- Upload date:
- Size: 4.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.17
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e344b64e366c6952c378d6c34879bd86aeeae97a8f7594fbe1b11224ec03dbc5 |
|
MD5 | 3118a5105a74549271e887305a5e94c6 |
|
BLAKE2b-256 | 89f4b70fb42ccab36068a5d5c7e461d74914e6f399242d3b3914abd4b2cfae94 |