alexanderepstein / Bash-Snippets

A collection of small bash scripts for heavy terminal users
MIT License
9.64k stars 842 forks source link

Currency conversion does not work #173

Closed jarun closed 6 years ago

jarun commented 6 years ago

Issue Label:

Description: Conversion from USD to INR does not show correct results.

$ currency
What is the base currency: USD
What currency to exchange to: INR
What is the amount being exchanged: 1

=========================
| USD to INR
| Rate: 2.0
.
2.4
.18
.
| USD: 1
| INR: 2.0
2.0
2.4
.18
.18
=========================

Today the conversion rate is: 1 USD = 70.87 INR

If its a bug make sure to include this section.

OS and OS version:

OS Version: Ubuntu 16.04

I am using master.

alexanderepstein commented 6 years ago

Seems like the endpoint of the api being used changed. Should be fixed now with b270518de8c96ed1e67fafd7701ae08aa932ec1e

jarun commented 6 years ago

It's fixed. Thanks!