bitstamp-api-wrapper

0.2.4 • Public • Published

bitstamp-api-wrapper

Необходимо сообщить вашему node-процессу переменные окружения, перечисленные в .env.example.

const Bitstamp = require('bitstamp-api-wrapper');

const bitstamp = new Bitstamp();

...
const ticker = await bitstamp.ticker();
const currentPrice = await bitstamp.getCurrentPrice();
const myBalance = await bitstamp.balance();
...

bitstamp.close();

Readme

Keywords

none

Package Sidebar

Install

npm i bitstamp-api-wrapper

Weekly Downloads

8

Version

0.2.4

License

MIT

Last publish

Collaborators

  • invision
  • stasundr