v3.10.28 feat(): added new endpoints, updated examples
This commit is contained in:
18
examples/apidoc/V5/Affiliate/get-affiliate-user-list.js
Normal file
18
examples/apidoc/V5/Affiliate/get-affiliate-user-list.js
Normal file
@@ -0,0 +1,18 @@
|
||||
// https://api.bybit.com/v5/broker/account-info
|
||||
|
||||
const { RestClientV5 } = require('bybit-api');
|
||||
|
||||
const client = new RestClientV5({
|
||||
testnet: true,
|
||||
key: 'apikey',
|
||||
secret: 'apisecret',
|
||||
});
|
||||
|
||||
client
|
||||
.getAffiliateUserList()
|
||||
.then((response) => {
|
||||
console.log(response);
|
||||
})
|
||||
.catch((error) => {
|
||||
console.error(error);
|
||||
});
|
||||
Reference in New Issue
Block a user