Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@bleskomat/kraken-api-client

Package Overview
Dependencies
Maintainers
2
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bleskomat/kraken-api-client

Client for the Kraken bitcoin exchange API

  • 1.0.0
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
1
Maintainers
2
Weekly downloads
 
Created
Source

KrakenApiClient

Node.js client for the Kraken bitcoin exchange API.

  • Installation
  • Usage
  • Tests
  • Changelog
  • License

Installation

Add to your application via npm:

npm install @bleskomat/kraken-api-client

Usage

Public API end-points:

const KrakenApiClient = require('@bleskomat/kraken-api-client');

const kraken = new KrakenApiClient();

kraken.api('Ticker').then(result => {
	console.log(JSON.stringify(result, null, 2));
}).catch(error => console.error(error));

Private API end-points require API key and private key:

const KrakenApiClient = require('@bleskomat/kraken-api-client');

const kraken = new KrakenApiClient({
	apiKey: 'API_KEY',
	privateKey: 'PRIVATE_KEY',
});

kraken.api('Balance').then(result => {
	console.log(JSON.stringify(result, null, 2));
}).catch(error => console.error(error));

Tests

Run automated tests as follows:

npm test

Changelog

See CHANGELOG.md

License

This software is MIT licensed:

A short, permissive software license. Basically, you can do whatever you want as long as you include the original copyright and license notice in any copy of the software/source. There are many variations of this license in use.

Keywords

FAQs

Package last updated on 07 Oct 2022

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc