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
- Host: GitHub
- URL: https://github.com/jessegersensonchess/currency-converter
- Owner: jessegersensonchess
- Created: 2022-05-27T08:17:29.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-09-14T06:17:41.000Z (8 months ago)
- Last Synced: 2024-09-14T18:00:52.209Z (8 months ago)
- Language: Go
- Homepage:
- Size: 45.9 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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