1.3.0 • Published 4 years ago
node-upbit-api v1.3.0
node-upbit-api
wrapper for upbit API
Installation
$ npm ciBuild
$ npm run buildLint
$ npm run lint # Only Check Lint
$ npm run lint:fix # Fix to Lint Error
$ npm run format # Check prettierHow to Use
import ApiUpbit from 'node-upbit-api';
new ApiUpbit('accessKey', 'secretKey').getAccounts().then((accounts) => {
console.log(accounts);
});Available API List
- Exchange API
- Assets
GET /v1/accounts- getAccounts
- Show List of assets you have.
- Orders
GET /v1/orders/chance- getOrdersChance
- Check the order availability information by market.
GET /v1/order- getOrder
- Inquire individual orders through the order UUID.
GET /v1/orders- getOrders
- Inquire the order list.
DELETE /v1/order- cancelOrder
- Cancel Order
POST /v1/orders- postOrders
- Request An Order
- Withdrawal
GET /v1/withdraws- getWithdraws
- Withdraws List
GET /v1/withdraw- getWithdraw
- Withdraw Detail
GET /v1/withdraws/chance- getWithdrawsChance
- Check the possible withdrawal information of the Currency.
POST /v1/withdraws/coin- postWithdrawsCoin
- Request an Withdraw Coin
POST /v1/withdraws/krw- postWithdrawsKrw
- Request an Withdraw Krw
- Deposit
GET /v1/deposits- getDeposits
- Deposits List
GET /v1/deposit- getDeposit
- Deposit Detail
POST /v1/deposit/generate_coin_address- postDepositCoinAddress
- Request an Deposit Address
GET /v1/deposits/coin_addresses- getDepositCoinAddresses
- Show The List of Assets You Have.
GET /v1/deposits/coin_address- getDepositCoinAddress
- Show The Detail of Assets You Have.
POST /v1/deposits/krw- postDepositKrw
- Request a Deposit of KRW.
- Assets
- Quotation API
- Coin List
GET /v1/market/all
- Candle
GET /v1/candles/minute/{unit}GET /v1/candles/daysGET /v1/candles/weeksGET /v1/candles/months
- Conclusion
GET /v1/trades/ticks
- Ticker
GET /v1/ticker
- Orderbook
GET /v1/orderbook
- Coin List
- etc
GET /v1/status/walletGET /v1/api_keys
Commit-message
- The commit message accurately specifies the work scope.
- The commit message refers to semantic-release