Skip to content

Commit

Permalink
chore(): updated examples
Browse files Browse the repository at this point in the history
  • Loading branch information
JJ-Cro committed Oct 16, 2024
1 parent 865c121 commit 9a83248
Show file tree
Hide file tree
Showing 10 changed files with 18 additions and 18 deletions.
18 changes: 9 additions & 9 deletions docs/endpointFunctionList.md
Original file line number Diff line number Diff line change
Expand Up @@ -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` |
Expand Down
2 changes: 1 addition & 1 deletion examples/apidoc/MainClient/getFlexibleProductPosition.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion examples/apidoc/MainClient/getFlexibleSavingProducts.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion examples/apidoc/MainClient/getLockedProductPosition.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion examples/apidoc/MainClient/getSimpleEarnAccount.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion examples/apidoc/MainClient/purchaseFlexibleProduct.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion examples/apidoc/MainClient/redeemFlexibleProduct.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion examples/apidoc/MainClient/redeemLockedProduct.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9a83248

Please sign in to comment.