Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

bitstamp-api-wrapper

invision11MIT0.2.4

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

readme

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();