diff --git a/docs/endpointFunctionList.md b/docs/endpointFunctionList.md index fdd85e9..ca7d1c8 100644 --- a/docs/endpointFunctionList.md +++ b/docs/endpointFunctionList.md @@ -328,17 +328,17 @@ This table includes all endpoints from the official Exchange API docs and corres | [getCryptoLoanBorrowHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2736) | :closed_lock_with_key: | GET | `sapi/v1/loan/borrow/history` | | [getCryptoLoanLTVAdjustmentHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2743) | :closed_lock_with_key: | GET | `sapi/v1/loan/ltv/adjustment/history` | | [getCryptoLoanRepaymentHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2752) | :closed_lock_with_key: | GET | `sapi/v1/loan/repay/history` | -| [getSimpleEarnAccount()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2764) | :closed_lock_with_key: | GET | `/sapi/v1/simple-earn/account` | -| [getFlexibleSavingProducts()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2768) | :closed_lock_with_key: | GET | `/sapi/v1/simple-earn/flexible/list` | -| [getSimpleEarnLockedProductList()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2775) | :closed_lock_with_key: | GET | `/sapi/v1/simple-earn/locked/list` | -| [getFlexibleProductPosition()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2784) | :closed_lock_with_key: | GET | `/sapi/v1/simple-earn/flexible/position` | -| [getLockedProductPosition()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2793) | :closed_lock_with_key: | GET | `/sapi/v1/simple-earn/locked/position` | +| [getSimpleEarnAccount()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2764) | :closed_lock_with_key: | GET | `sapi/v1/simple-earn/account` | +| [getFlexibleSavingProducts()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2768) | :closed_lock_with_key: | GET | `sapi/v1/simple-earn/flexible/list` | +| [getSimpleEarnLockedProductList()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2775) | :closed_lock_with_key: | GET | `sapi/v1/simple-earn/locked/list` | +| [getFlexibleProductPosition()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2784) | :closed_lock_with_key: | GET | `sapi/v1/simple-earn/flexible/position` | +| [getLockedProductPosition()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2793) | :closed_lock_with_key: | GET | `sapi/v1/simple-earn/locked/position` | | [getFlexiblePersonalLeftQuota()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2802) | :closed_lock_with_key: | GET | `sapi/v1/simple-earn/flexible/personalLeftQuota` | | [getLockedPersonalLeftQuota()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2811) | :closed_lock_with_key: | GET | `sapi/v1/simple-earn/locked/personalLeftQuota` | -| [purchaseFlexibleProduct()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2826) | :closed_lock_with_key: | POST | `/sapi/v1/simple-earn/flexible/subscribe` | -| [subscribeSimpleEarnLockedProduct()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2832) | :closed_lock_with_key: | POST | `/sapi/v1/simple-earn/locked/subscribe` | -| [redeemFlexibleProduct()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2838) | :closed_lock_with_key: | POST | `/sapi/v1/simple-earn/flexible/redeem` | -| [redeemLockedProduct()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2844) | :closed_lock_with_key: | POST | `/sapi/v1/simple-earn/locked/redeem` | +| [purchaseFlexibleProduct()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2826) | :closed_lock_with_key: | POST | `sapi/v1/simple-earn/flexible/subscribe` | +| [subscribeSimpleEarnLockedProduct()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2832) | :closed_lock_with_key: | POST | `sapi/v1/simple-earn/locked/subscribe` | +| [redeemFlexibleProduct()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2838) | :closed_lock_with_key: | POST | `sapi/v1/simple-earn/flexible/redeem` | +| [redeemLockedProduct()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2844) | :closed_lock_with_key: | POST | `sapi/v1/simple-earn/locked/redeem` | | [setFlexibleAutoSubscribe()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2850) | :closed_lock_with_key: | POST | `sapi/v1/simple-earn/flexible/setAutoSubscribe` | | [setLockedAutoSubscribe()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2859) | :closed_lock_with_key: | POST | `sapi/v1/simple-earn/locked/setAutoSubscribe` | | [getFlexibleSubscriptionPreview()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2868) | :closed_lock_with_key: | GET | `sapi/v1/simple-earn/flexible/subscriptionPreview` | diff --git a/examples/apidoc/MainClient/getFlexibleProductPosition.js b/examples/apidoc/MainClient/getFlexibleProductPosition.js index ba706ac..18d75ce 100644 --- a/examples/apidoc/MainClient/getFlexibleProductPosition.js +++ b/examples/apidoc/MainClient/getFlexibleProductPosition.js @@ -2,7 +2,7 @@ const { MainClient } = require('binance'); // This example shows how to call this Binance API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "binance" for Binance exchange // This Binance API SDK is available on npm via "npm install binance" - // ENDPOINT: /sapi/v1/simple-earn/flexible/position + // ENDPOINT: sapi/v1/simple-earn/flexible/position // METHOD: GET // PUBLIC: NO // Link to function: https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2784 diff --git a/examples/apidoc/MainClient/getFlexibleSavingProducts.js b/examples/apidoc/MainClient/getFlexibleSavingProducts.js index 9c63573..b08ec2b 100644 --- a/examples/apidoc/MainClient/getFlexibleSavingProducts.js +++ b/examples/apidoc/MainClient/getFlexibleSavingProducts.js @@ -2,7 +2,7 @@ const { MainClient } = require('binance'); // This example shows how to call this Binance API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "binance" for Binance exchange // This Binance API SDK is available on npm via "npm install binance" - // ENDPOINT: /sapi/v1/simple-earn/flexible/list + // ENDPOINT: sapi/v1/simple-earn/flexible/list // METHOD: GET // PUBLIC: NO // Link to function: https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2768 diff --git a/examples/apidoc/MainClient/getLockedProductPosition.js b/examples/apidoc/MainClient/getLockedProductPosition.js index 1e55570..6caf262 100644 --- a/examples/apidoc/MainClient/getLockedProductPosition.js +++ b/examples/apidoc/MainClient/getLockedProductPosition.js @@ -2,7 +2,7 @@ const { MainClient } = require('binance'); // This example shows how to call this Binance API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "binance" for Binance exchange // This Binance API SDK is available on npm via "npm install binance" - // ENDPOINT: /sapi/v1/simple-earn/locked/position + // ENDPOINT: sapi/v1/simple-earn/locked/position // METHOD: GET // PUBLIC: NO // Link to function: https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2793 diff --git a/examples/apidoc/MainClient/getSimpleEarnAccount.js b/examples/apidoc/MainClient/getSimpleEarnAccount.js index 2f8c69c..2d10ad2 100644 --- a/examples/apidoc/MainClient/getSimpleEarnAccount.js +++ b/examples/apidoc/MainClient/getSimpleEarnAccount.js @@ -2,7 +2,7 @@ const { MainClient } = require('binance'); // This example shows how to call this Binance API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "binance" for Binance exchange // This Binance API SDK is available on npm via "npm install binance" - // ENDPOINT: /sapi/v1/simple-earn/account + // ENDPOINT: sapi/v1/simple-earn/account // METHOD: GET // PUBLIC: NO // Link to function: https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2764 diff --git a/examples/apidoc/MainClient/getSimpleEarnLockedProductList.js b/examples/apidoc/MainClient/getSimpleEarnLockedProductList.js index fe238c2..070ebaf 100644 --- a/examples/apidoc/MainClient/getSimpleEarnLockedProductList.js +++ b/examples/apidoc/MainClient/getSimpleEarnLockedProductList.js @@ -2,7 +2,7 @@ const { MainClient } = require('binance'); // This example shows how to call this Binance API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "binance" for Binance exchange // This Binance API SDK is available on npm via "npm install binance" - // ENDPOINT: /sapi/v1/simple-earn/locked/list + // ENDPOINT: sapi/v1/simple-earn/locked/list // METHOD: GET // PUBLIC: NO // Link to function: https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2775 diff --git a/examples/apidoc/MainClient/purchaseFlexibleProduct.js b/examples/apidoc/MainClient/purchaseFlexibleProduct.js index ab51fa2..5e1e761 100644 --- a/examples/apidoc/MainClient/purchaseFlexibleProduct.js +++ b/examples/apidoc/MainClient/purchaseFlexibleProduct.js @@ -2,7 +2,7 @@ const { MainClient } = require('binance'); // This example shows how to call this Binance API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "binance" for Binance exchange // This Binance API SDK is available on npm via "npm install binance" - // ENDPOINT: /sapi/v1/simple-earn/flexible/subscribe + // ENDPOINT: sapi/v1/simple-earn/flexible/subscribe // METHOD: POST // PUBLIC: NO // Link to function: https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2826 diff --git a/examples/apidoc/MainClient/redeemFlexibleProduct.js b/examples/apidoc/MainClient/redeemFlexibleProduct.js index 147b796..bbb67bf 100644 --- a/examples/apidoc/MainClient/redeemFlexibleProduct.js +++ b/examples/apidoc/MainClient/redeemFlexibleProduct.js @@ -2,7 +2,7 @@ const { MainClient } = require('binance'); // This example shows how to call this Binance API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "binance" for Binance exchange // This Binance API SDK is available on npm via "npm install binance" - // ENDPOINT: /sapi/v1/simple-earn/flexible/redeem + // ENDPOINT: sapi/v1/simple-earn/flexible/redeem // METHOD: POST // PUBLIC: NO // Link to function: https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2838 diff --git a/examples/apidoc/MainClient/redeemLockedProduct.js b/examples/apidoc/MainClient/redeemLockedProduct.js index eb7ac35..e59b6fd 100644 --- a/examples/apidoc/MainClient/redeemLockedProduct.js +++ b/examples/apidoc/MainClient/redeemLockedProduct.js @@ -2,7 +2,7 @@ const { MainClient } = require('binance'); // This example shows how to call this Binance API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "binance" for Binance exchange // This Binance API SDK is available on npm via "npm install binance" - // ENDPOINT: /sapi/v1/simple-earn/locked/redeem + // ENDPOINT: sapi/v1/simple-earn/locked/redeem // METHOD: POST // PUBLIC: NO // Link to function: https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2844 diff --git a/examples/apidoc/MainClient/subscribeSimpleEarnLockedProduct.js b/examples/apidoc/MainClient/subscribeSimpleEarnLockedProduct.js index 24048a1..1688d0e 100644 --- a/examples/apidoc/MainClient/subscribeSimpleEarnLockedProduct.js +++ b/examples/apidoc/MainClient/subscribeSimpleEarnLockedProduct.js @@ -2,7 +2,7 @@ const { MainClient } = require('binance'); // This example shows how to call this Binance API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "binance" for Binance exchange // This Binance API SDK is available on npm via "npm install binance" - // ENDPOINT: /sapi/v1/simple-earn/locked/subscribe + // ENDPOINT: sapi/v1/simple-earn/locked/subscribe // METHOD: POST // PUBLIC: NO // Link to function: https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2832