1.0.7 • Published 2 months ago

node-bestchange v1.0.7

Weekly downloads
1
License
MIT
Repository
-
Last release
2 months 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

2 months ago

1.0.6

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

2 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago