An OpenBB provider extension for accessing U.S. Energy Information Administration (EIA) data via the EIA API. Version 1.3.1 supports Python 3.10+. Release cadence is irregular, typically aligned with OpenBB Platform updates.
pip install openbb-us-eiaNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Initializes OpenBB with the EIA provider and fetches petroleum consumption data. Requires EIA API key set as environment variable EIA_API_KEY.
Prefix EIA calls with 'energy' submodule: e.g., `obb.energy.eia.petroleum_consumption`.
Replace `obb.eia.` with `obb.energy.eia.` in all calls.
Implement your own retry logic or use a caching layer. Request a higher limit from EIA if needed.
Check the EIA API documentation for required parameters of each series and pass them as kwargs to the OpenBB command.
No resource links recorded.