Skip to content

currencystack/currencystack-node

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published