acx-io
TypeScript icon, indicating that this package has built-in type declarations

1.0.4 • Public • Published

Build Status Coverage Status Dependencies

ACX Wrapper

Typescript / Node wrapper for the Data and Trading APIs offered by ACX

Setup

Install the dependancies with npm / yarn.

npm install acx-io --save

API Key

In order to utilise the private() method you'll need to generate an API Key.

Usage

The API wrapper exposes a Public and a Private method, which contain each of the endpoint functions.

Exposed Functions

Example

Examples for usage of each function can be found within the examples folder.

They can be run by the command line with ts-node.

npm install ts-node -g
ts-node examples/public/orderbook
import { acx } from 'acx-io';
 
const acx = new acx('accessKey', 'secret');
 
// Access Public Timestamp
acx.public().timestamp()
  .then(resp => {
    console.log(resp);
  });

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.4
    1
    • latest

Version History

Package Sidebar

Install

npm i acx-io

Weekly Downloads

1

Version

1.0.4

License

WTFPL

Unpacked Size

767 kB

Total Files

77

Last publish

Collaborators

  • sketchthat