from scripts.XML_daily import XML_daily
xml_daily = XML_daily()
data = xml_daily.load_data(char_codes=['usd', 'cny'])
print('>>>', data)
data = xml_daily.convert_to_currency('usd', data)
print('<<<', data)
# >>> {'usd': Decimal('81.5045'), 'cny': Decimal('11.8803')}
# <<< {'cny': Decimal('6.86047'), 'rub': Decimal('81.5045')}-
Notifications
You must be signed in to change notification settings - Fork 0
Банк России :: Технические ресурсы
License
ames0k0/cbr-ru
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
About
Банк России :: Технические ресурсы