1.3.6 • Published 5 years ago

getbankapi-bnm v1.3.6

Weekly downloads
3
License
MIT
Repository
github
Last release
5 years ago

GitHub Multipack

Getting started.

Install via npm to use with node: npm i getbankapi-bnm

Or via cdn to use in browsers:

<!--index.html-->
<script src="https://cdn.jsdelivr.net/npm/getbankapi-bnm@latest/build/index.js"></script>

Get exchange rates

const bnmApi = require('getbankapi-bnm')

// Get exchange rates for today
const todayExchangeRates = await bnmApi.getExchangeRates()

// Get exchange rates for a custom date
const yesterdayDate = moment()
  .subtract(1, 'days')
  .toDate()
const yesterdayExchangeRates = await bnmApi.getExchangeRates(yesterdayDate)

console.log(todayExchangeRates, yesterdayExchangeRates)

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

Author

getbankapi-bnm © GHERCIU, Released under the MIT License. Authored and maintained by GHERCIU with help from contributors (list).

If you like this repository star⭐ and watch👀 on GitHub

1.3.6

5 years ago

1.3.5

5 years ago

1.3.4

5 years ago

1.3.3

5 years ago

1.3.2

5 years ago

1.3.1

5 years ago

1.3.0

5 years ago

1.2.3

5 years ago

1.2.2

5 years ago

1.2.1

5 years ago

1.2.0

5 years ago

1.1.13

5 years ago

1.1.12

5 years ago

1.1.11

5 years ago

1.1.10

5 years ago

1.1.9

5 years ago

1.1.8

5 years ago

1.1.7

5 years ago

1.1.6

5 years ago

1.1.5

5 years ago

1.1.4

5 years ago

1.1.3

5 years ago

1.1.2

5 years ago

1.1.1

5 years ago

1.1.0

5 years ago

1.0.1-alpha.0

5 years ago