First let's import our requirements
from datetime import datetime
import vortexasdk as v
Now let's load a dataframe of a sum of vessels in congestion.
You'll need to enter your Vortexa API key when prompted.
df = v.VoyagesCongestionBreakdown()\
.search(
time_min=datetime(2021, 8, 1, 0),
time_max=datetime(2021, 8, 1, 23))\
.to_df()
df.head()
That's it! You've successfully loaded data using the Vortexa SDK. Check out https://vortechsa.github.io/python-sdk/ for more examples