Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
123 changes: 63 additions & 60 deletions docs/endpointFunctionList.md

Large diffs are not rendered by default.

22 changes: 22 additions & 0 deletions examples/apidoc/SpotClient/getApiKeyInfo.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
import { SpotClient } from '@siebly/kraken-api';
// or, if require is preferred:
// const { SpotClient } = require('@siebly/kraken-api');

// This example shows how to call this Kraken API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "@siebly/kraken-api" for Kraken exchange
// This Kraken API SDK is available on npm via "npm install @siebly/kraken-api"
// ENDPOINT: 0/private/GetApiKeyInfo
// METHOD: POST
// PUBLIC: NO

const client = new SpotClient({
apiKey: 'insert_api_key_here',
apiSecret: 'insert_api_secret_here',
});

client.getApiKeyInfo(params)
.then((response) => {
console.log(response);
})
.catch((error) => {
console.error(error);
});
22 changes: 22 additions & 0 deletions examples/apidoc/SpotClient/getGroupedBook.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
import { SpotClient } from '@siebly/kraken-api';
// or, if require is preferred:
// const { SpotClient } = require('@siebly/kraken-api');

// This example shows how to call this Kraken API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "@siebly/kraken-api" for Kraken exchange
// This Kraken API SDK is available on npm via "npm install @siebly/kraken-api"
// ENDPOINT: 0/public/GroupedBook
// METHOD: GET
// PUBLIC: YES

const client = new SpotClient({
apiKey: 'insert_api_key_here',
apiSecret: 'insert_api_secret_here',
});

client.getGroupedBook(params)
.then((response) => {
console.log(response);
})
.catch((error) => {
console.error(error);
});
22 changes: 22 additions & 0 deletions examples/apidoc/SpotClient/getLevel3OrderBook.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
import { SpotClient } from '@siebly/kraken-api';
// or, if require is preferred:
// const { SpotClient } = require('@siebly/kraken-api');

// This example shows how to call this Kraken API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "@siebly/kraken-api" for Kraken exchange
// This Kraken API SDK is available on npm via "npm install @siebly/kraken-api"
// ENDPOINT: 0/private/Level3
// METHOD: POST
// PUBLIC: NO

const client = new SpotClient({
apiKey: 'insert_api_key_here',
apiSecret: 'insert_api_secret_here',
});

client.getLevel3OrderBook(params)
.then((response) => {
console.log(response);
})
.catch((error) => {
console.error(error);
});
Loading
Loading