Try out the VortexaSDK

First let's import our requirements

In [ ]:
from datetime import datetime
import vortexasdk as v

Time series for the number of vessels available between the next 30 to 35 days, at port Singapore, over the last year.

You'll need to enter your Vortexa API key when prompted.

In [ ]:
df = v.VesselAvailabilityTimeseries().search(
    filter_port='1b79e18416d358d7e07b978abcab3f17e2ca75085a6d70ce1811cf4eaeaea886',
    filter_days_to_arrival={"min": 30,"max": 35},
    filter_time_min=datetime(2021,1,19,11,51),
    filter_time_max=datetime(2021,1,19,23,59)
).to_df()
In [ ]:
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