No description, website, or topics provided.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
test
.eslintignore
.eslintrc
.gitignore
.travis.yml
package.json
readme.md
yarn.lock

readme.md

CurrencyStack node library Build Status

client library for CurrencyStack

Installation

yarn add CurrencyStack-node

usage

Get currency conversion rates:

const currencyStack = require("./dist/index");

const main = async () => {
    const currencyStackClient = new currencyStack.Client('api key here');

    const response = await currencyStackClient.currencyApi.GetCurrencyConvertion("AED", ["USD", "EUR", "egp"])
        .catch(e => console.log(e.toString()));

    console.log(response);
};


main();

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT