A simple script to parse xml, json, html, etc in order to get the value of exchange rate from specific central bank. Depends on the "requests" module.
python er.py 'KZ' 'KZT' 'USD' '2018-05-01'
Have to return:
327.25
Where:
- 'KZ' — Country code
- 'KZT' — Input currency code
- 'USD' — Output currency code
- '2018-05-01' — Date of the rate
- EE
- UA
- BY
- KZ
- LT
- PL
- LV
- AZ
- RU
- GE
- UZ
- AZN
- RUB
- KZT
- GEL
- PLN
- EUR
- UAH
- BYN
- UZS
Any. Depends on central bank, except KZ (it's USD only so far).