#!/usr/bin/env python # coding: utf-8 # ### Try out the VortexaSDK # First let's import our requirements # In[ ]: from datetime import datetime import vortexasdk as v # You'll need to enter your Vortexa API key when prompted. # In[ ]: eia = v.EIAForecasts().search( preset="padd5-gasoline-imports", filter_time_min=datetime(2020, 1, 1), filter_time_max=datetime(2020, 1, 31) ).to_df() # In[ ]: 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