Currency converter

Simple currency converter using API from http://fixer.io/

Input parameters:

  • --amount - amount which we want to convert - float
  • --input_currency - input currency - 3 letters name or currency symbol
  • --output_currency - requested/output currency - 3 letters name or currency symbol

Supporting 31 most common currencies: AUD, BGN, BRL, CAD, CHF, CNY, CZK, DKK, GBP, HKD, HRK, HUF, IDR, ILS, INR, JPY, KRW, MXN, MYR, NOK, NZD, PHP, PLN, RON, RUB, SEK, SGD, THB, TRY, USD, ZAR

Additionaly, four currency symbols ($, €, £, ¥) are supported, these represent USD, EUR, GBP, and CNY.

Warning

The script is not handling exceptions and errors, use it wisely!

Enjoy