First let's import our requirements
from datetime import datetime
import vortexasdk as v
You'll need to enter your Vortexa API key when prompted.
eia = v.EIAForecasts().search(
preset="padd5-gasoline-imports",
filter_time_min=datetime(2020, 1, 1),
filter_time_max=datetime(2020, 1, 31)
).to_df()
eia.head()
That's it! You've successfully loaded data using the Vortexa SDK. Check out https://vortechsa.github.io/python-sdk/ for more examples