Skip to content

EloquentStudio/exchangerate-api-node

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ExchangeRate API client

exchangerate-api.com

Installing the client library

npm install exchangerate-api

Using the client library

// Imports the library
const exchangeRateClient = require('exchangerate-api');

const result = await exchangeRateClient.ratesFor('USD')
  
result.getRate('EUR')

for(let [code, rate] of result){
  console.log(code, rate)
}

result.conversion('EUR', 10)

License

The gem is available as open source under the terms of the MIT License.

About

Exchangerate api client

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published