An open API service indexing awesome lists of open source software.

https://github.com/jessegersensonchess/currency-converter

currency converter for the command line using query1.finance.yahoo.com API
https://github.com/jessegersensonchess/currency-converter

Last synced: 3 months ago
JSON representation

currency converter for the command line using query1.finance.yahoo.com API

Awesome Lists containing this project

README

        

Currency converter
=======================
Converts between ISO 4217 currency codes. Takes 2 or 3 arguments. The last arg is opitonal.

Script attempts to connect to, and retrieve data from, redis over port 6379.

Usage:
--------

```./currency-converter usd eur 100```

Build:
--------

```
go build
# or, build in docker
docker build -t currency/converter:latest .
```

Example
--------
Converts 100 USD to Euro

```
docker run -it --rm currency/converter:latest usd eur 100
```

To do
------------
- add error handling
- add logging
- add docker-compose.yml
- move config to config management system
- add RESTful api