feat(): Added all missing examples
This commit is contained in:
21
examples/apidoc/V5/User/get-sub-all-api-keys.js
Normal file
21
examples/apidoc/V5/User/get-sub-all-api-keys.js
Normal file
@@ -0,0 +1,21 @@
|
||||
// https://api.bybit.com/v5/user/sub-apikeys
|
||||
|
||||
const { RestClientV5 } = require('bybit-api');
|
||||
|
||||
const client = new RestClientV5({
|
||||
testnet: true,
|
||||
key: 'apikey',
|
||||
secret: 'apisecret',
|
||||
});
|
||||
|
||||
client
|
||||
.getSubAccountAllApiKeys({
|
||||
subMemberId: 'subUID',
|
||||
limit: 20,
|
||||
})
|
||||
.then((response) => {
|
||||
console.log(response);
|
||||
})
|
||||
.catch((error) => {
|
||||
console.error(error);
|
||||
});
|
||||
Reference in New Issue
Block a user