Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/adam0brien/currency-converter
https://github.com/adam0brien/currency-converter
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/adam0brien/currency-converter
- Owner: Adam0Brien
- Created: 2023-08-07T17:46:17.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-12-01T00:32:56.000Z (12 months ago)
- Last Synced: 2024-06-19T16:39:41.368Z (5 months ago)
- Language: Go
- Size: 8.79 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Currency-Converter
Command-line currency converter app written in Go.
How to Use
Clone the repository:
```
git clone https://github.com/Adam0Brien/currency-converter.git
cd currency-converter
```
Build the executable:
```
go build
```
Run the application:
```
./currency-converter
```
Follow the prompts to enter the 3-letter currency symbols and the amount you want to convert.Example:
```
Enter the 3 letter currency symbol you wish to exchange: USD
Enter the 3 letter currency symbol you wish to receive: EUR
Enter the amount: 100
```# Dependencies
This app relies on the API Ninjas Currency Conversion API for currency conversion data.The currency symbols should be valid 3-letter codes. Check the currencies.csv file for a list of supported currencies.