Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Get exchange rates from xe.com.

Usage

$ xe --help
xe - Command-line utility to get xe.com's exchange rates

Usage: xe (-s|--src CUR) (-t|--target CUR) [-d|--date YYYY-MM-DD]
          [-a|--amount AMOUNT]
  Get exchange rates from xe.com.

Available options:
  -s,--src CUR             three letter symbol for the source currency
  -t,--target CUR          three letter symbol for the target currency
  -d,--date YYYY-MM-DD     (Optional) date we want the exchange rate for. When
                           no date is specified, the program gets today's
                           exchange rate
  -a,--amount AMOUNT       (Optional) amount of money in source currency to
                           convert into the target currency. Defaults to 1 unit.
  -h,--help                Show this help text

Example:

$ xe -s SEK -t EUR -d 2015-12-07 -a 502
502.00 SEK = 54.21 EUR (Exchange rate from XE.com on 2015-12-07: 1 SEK = 0.1079850103 EUR)

About

Command-line access to xe.com

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages