https://github.com/ozum/3commas
https://github.com/ozum/3commas
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/ozum/3commas
- Owner: ozum
- License: isc
- Created: 2023-11-29T12:36:35.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-02-13T20:08:22.000Z (over 1 year ago)
- Last Synced: 2024-10-29T22:33:07.300Z (7 months ago)
- Language: TypeScript
- Size: 381 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Low Level
Access 3Commas API.
```ts
import { getBot, getAllAccounts } from "3commas";const bot = await getBot(123456789);
const accounts = await getAllAccounts();
```# High Level
Use 3Commas API at a high level.
```ts
import { ThreeCommas } from "3Commas";const threeCommas = new ThreeCommas();
await threeCommas.loadAccounts();
await threeCommas.loadBots();const bot = threeCommas.getBot(123456789);
const account = bot.account;
```