Skip to content

Latest commit

 

History

History
31 lines (24 loc) · 569 Bytes

File metadata and controls

31 lines (24 loc) · 569 Bytes

eccentrade-node

Official JavaScript client for the Eccentrade API https://developer.eccentrade.com. Works on both server and client side.

Installation

npm install eccentrade-client

Usage

Require Eccentrade:

const Eccentrade = require('eccentrade-client');

Create a client:

Using Personal Access Tokens

const client = new Eccentrade.Client({ token: 'my_token' });

Using credentials (deprecated)

const client = new Eccentrade.Client({
  appId: <appId>
  email: <email>
  password: <password>
});