@plasma-platform/service-currencies

1.5.0 • Public • Published

version nextVersion downloads license dependency


Full documentation
install:
npm i @plasma-platform/service-currencies -S

Short documentation

Table of Contents

ServiceCurrencies

Currencies API

getCurrencyExchangeRate

Request Currency information

Parameters

  • params object
    • params.currency string Currency iso3 code
    • params.date string? Date in format 'YYYY-mm-dd'. (By default: current date)

Examples

(async () => {
  const service = new Service(url);
  const request = await service.getCurrencyExchangeRate(params);
})();

Returns Promise<any>

getExchangeRateList

Get list of available currencies

Parameters

  • params object
    • params.date string? Date in format 'YYYY-mm-dd'. (By default: current date)

Examples

(async () => {
  const service = new Service(url);
  const request = await service.getExchangeRateList(date);
})();

Returns Promise<any>

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.5.028latest

Version History

VersionDownloads (Last 7 Days)Published
1.5.028
1.4.20
1.4.10
1.4.00
1.3.60
1.3.50
1.3.40
1.3.30
1.3.20
1.3.10
1.3.00
1.3.0-alpha.00
1.2.160
1.2.17-alpha.00
1.2.16-alpha.01
1.2.151
1.2.15-alpha.00
1.2.14-alpha.00
1.2.130
1.2.120
1.2.110
1.2.11-alpha.00
1.2.10-alpha.00
1.2.90
1.2.81
1.2.70
1.4.0-alpha.00
1.2.60
1.2.50
1.2.41
1.2.30
1.2.20
1.2.10
1.2.00
1.1.100
1.1.90
1.1.80
1.1.71
1.1.60
1.1.50
1.1.40
1.1.30
1.1.21
1.1.10
1.1.00
1.0.120
1.0.111
1.0.102
1.0.90
1.0.82
1.0.70
1.0.60
1.0.50
1.0.40
1.0.30

Package Sidebar

Install

npm i @plasma-platform/service-currencies

Weekly Downloads

39

Version

1.5.0

License

CC-BY-4.0

Unpacked Size

19.7 kB

Total Files

6

Last publish

Collaborators

  • alienmonster
  • ch-tm
  • viram