Skip to content
This repository was archived by the owner on Jun 17, 2025. It is now read-only.
Open
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
17 changes: 0 additions & 17 deletions example.js

This file was deleted.

6 changes: 5 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
'use strict'
const querystring = require('querystring');
const querystring = require('querystring')
const crypto = require('crypto')
const fetch = require('node-fetch')

Expand Down Expand Up @@ -239,6 +239,10 @@ class threeCommasAPI {
return await this.makeRequest('POST', `/public/api/ver1/accounts/${account_id}/remove?`, { account_id })
}

async accountShow (account_id) {
return await this.makeRequest('GET', `/public/api/ver1/accounts/${account_id}?`, { account_id })
}

}

module.exports = threeCommasAPI
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "3commas-api-node",
"version": "1.1.1",
"version": "1.1.2",
"description": "3commas API NodeJS wrapper",
"main": "index.js",
"engines": {
Expand Down