npm.io
1.3.0 • Published 2 years ago

3commas

Licence
ISC
Version
1.3.0
Deps
5
Size
251 kB
Vulns
0
Weekly
0

Low Level

Access 3Commas API.

import { getBot, getAllAccounts } from "3commas";

const bot = await getBot(123456789);
const accounts = await getAllAccounts(123456789);

High Level

Use 3Commas API at a high level.

import { ThreeCommas } from "3Commas";

const threeCommas = new ThreeCommas();
await threeCommas.loadAccounts();
await threeCommas.loadBots();

const bot = threeCommas.getBot(123456789);
const account = bot.account;

Keywords