Releases: mbk-dev/cbrapi
Releases · mbk-dev/cbrapi
CBRAPI 0.1.7
This release improves compatibility with older pandas versions, reduces redundant calls to CBR web services, and adds test coverage for the main public API.
Fixed:
- wrap XML responses in
BytesIObefore passing them topd.read_xml, which restores compatibility with olderpandasversions - cache
make_cbr_client()andget_currencies_list()to avoid duplicate requests to CBR services - reuse the cached currencies list inside
get_currency_code()instead of requesting it multiple times
Tests:
- add
pytestcoverage for the main modules:currency,helpers,metals,rates,reserves, andruonia
v0.1.6
currency.get_time_series pads missing periods until today if it's within first_date and last_date.