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

https://github.com/stichoza/nbg-currency-cli

🖥 Command-line tool for National Bank of Georgia currency service
https://github.com/stichoza/nbg-currency-cli

Last synced: about 1 year ago
JSON representation

🖥 Command-line tool for National Bank of Georgia currency service

Awesome Lists containing this project

README

          

# NBG Currency CLI

Command-line tool for National Bank of Georgia currency service.

> **Note:** If you're looking for a non-cli PHP package to use in your code, see **[stichoza/nbg-currency](https://github.com/Stichoza/nbg-currency)** instead.

## Installation

Install this package globally via [Composer](https://getcomposer.org/).

```
composer global require stichoza/nbg-currency-cli
```

## Usage


NBG CLI Screenshot

### Options
`--help` Display this help page.\
`--plain` Display plain results without colors.\
`--normalize` Convert rates to single entity if rate is given for amount larger than 1.

### Example commands
`nbg usd` Get currency rate and change for USD.\
`nbg usd --plain` Get currency rate for USD.\
`nbg usd eur gbp` Get currency rate for USD, EUR, GBP.\
`nbg 150 usd` Get equivalent of 150 USD in GEL.\
`nbg 150 gel usd` Get equivalent of 150 GEL in USD.