node bestchange
1.0.7
Api for bestchange.ru on nodejs.
$ npm i node-bestchange --save
async (() => { const Api = require('node-bestchange') const api = await (new Api()).load(); // btc (93) to Tinkoff (105) const rates = await api.getRates().filter(93, 105) const currencies = await api.getCurrencies() // collection currencies console.log(currencies.getData()) // list currencies})()
To use the API, you need to add a link to https://bestchange.ru where currency rates will be used.
Pull requests are always welcome.