huobi-node
TypeScript icon, indicating that this package has built-in type declarations

0.0.1 • Public • Published

Node API wrapper for Huobi

Public API for spot

For public API, access key and secret is not required

import {Huobi_spot_rest} from 'huobi-node';
const spot = new Huobi_spot_rest();
await a.get('/market/tickers'); // You can replace any valid API path here

Private API

For private API, access key and secret is required

import { Huobi_spot_rest } from 'huobi-node';
const a = new Huobi_spot_rest({ auth: { key: 'access_key_here', secret: 'secret_here' } });
await a.get('/v1/account/accounts');

Websocket (Pending)

Websocket is currently not supported yet.

Dependencies (4)

Dev Dependencies (12)

Package Sidebar

Install

npm i huobi-node

Weekly Downloads

1

Version

0.0.1

License

ISC

Unpacked Size

15.1 kB

Total Files

21

Last publish

Collaborators

  • waveiron