Skip to main content
Version: v5

imports

Monthly imports of a petroleum product - one column per reporting country.

Examples​

from openbb import obb
# Get monthly crude oil imports - one column per reporting country.
obb.jodi.oil.imports(provider='jodi')
# Compare crude oil imports of China, India, and South Korea.
obb.jodi.oil.imports(provider='jodi', country='china,india,south_korea', start_date='2020-01-01')

Parameters​


Returns​

results: JodiOilImports

Serializable results.

provider: str | None

Provider name.

warnings: Optional[list[Warning_]]

List of warnings.

chart: Optional[Chart]

Chart object.

extra: dict[str, Any]

Extra info.


Data​