You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 17, 2025. It is now read-only.
Make this library simple and as pure wrapper (which it basically is), so it can support any current 3commas API methods.
This is already possible in v1.*, using following example:
constapi=require('3commas-api-node')constapiCall=newapi({apiKey: '',apiSecret: ''})// get last 20 active dealsconstshowActiveDeals=async()=>{letdata=awaitapiCall.makeRequest(// method'GET',// path'/public/api/ver1/deals?'// params{limit: 20,scope: 'active',})console.log(data)}showActiveDeals()
Proposal is to remove all other functions, just leave makeRequest function and release it as v2. Update README with example usage and noting deprecated functions included in v1.*