New: Introducing PHP and Composer Support.Read the Announcement
Socket
Book a DemoInstallSign in
Socket

kucoin-api

Package Overview
Dependencies
Maintainers
1
Versions
64
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

kucoin-api

Node.js client for the KuCoin API

Source
npmnpm
Version
0.0.2
Version published
Weekly downloads
188
-40.32%
Maintainers
1
Weekly downloads
 
Created
Source

KuCoin API Client

A Node.js client for the [KuCoin](https://www.kucoin.com/) API.

Overview

What does it currently do

The KuCoin API documentation is not too bad, though some holes and inconsistencies. This Node.js client attempts to make up for some of those. 25 of the 29 endpoints are supported, the missing ones are mainly relating to Kline data.

Get help or give help

  • Open a new issue if you encounter a problem.
  • Or ping @satoshinaire on Twitter.
  • Pull requests welcome.

Getting started

Installation

npm install --save kucoin-api

Usage

'use strict'

require('dotenv').config()
const Kucoin = require('kucoin-api')

let kc = new Kucoin(process.env.KUCOIN_API_KEY, process.env.KUCOIN_API_SECRET)

kc.getBalance({
    symbol: 'GAS'
  })
  .then((result) => {
    console.log(result)
  })
  .catch((err) => {
    console.log(err)
  })

License

Donations

NEO / GAS accepted at AWcAwoXK6gbMUTojHMHEx8FgEfaVK9Hz5s

Keywords

kucoin

FAQs

Package last updated on 01 Nov 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts