Fixes
- Currency preservation in
to_dataframe(): Fixed bug where all commodities showed USD regardless of actual currency. EUR, GBP, and other currencies now correctly preserved. - Auto-pagination in
get_all()andto_dataframe(): Previously capped at one page of results. Now auto-paginates usingX-Has-Nextresponse header to fetch all available data. - New
per_pageparameter: Bothget_all()andto_dataframe()acceptper_page(default 100) to control page size.
Upgrade
pip install --upgrade oilpriceapi