client library for CurrencyStack
yarn add CurrencyStack-node
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();
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.