exchage

Crates.ioexchage
lib.rsexchage
version0.1.1
sourcesrc
created_at2019-09-13 06:57:41.56927
updated_at2019-09-13 07:15:46.573918
descriptionA commandline tool converting currencies
homepage
repositoryhttps://github.com/Domon/exchage
max_upload_size
id164533
size74,234
Chun-wei Kuo (Domon)

documentation

README

exchage

A commandline tool converting currencies.

Installation

$ cargo install exchage

Usage

Obtain an API key from https://www.currencyconverterapi.com/ and export it to the API_KEY environment variable.

$  export API_KEY=...

$ exchage 1 AUD_USD
Given Amount: "1"
Base Amount: $1.0
Rate: 0.686816
Target Amount: $0.686816
Commit count: 8

cargo fmt