1.0.7 • Published 1 year ago

node-bestchange v1.0.7

Weekly downloads
1
License
MIT
Repository
-
Last release
1 year ago

NODEJS bestchange.ru API

Api for bestchange.ru on nodejs.

Install

$ npm i node-bestchange --save

Usage

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

Terms of use

To use the API, you need to add a link to https://bestchange.ru where currency rates will be used.

Contribution

Pull requests are always welcome.

1.0.7

1 year ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

3 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago