First let's import our requirements
from datetime import datetime
import vortexasdk as v
Breakdown of number and DWT of all vessels arriving at Singapore in the next 5 days.
You'll need to enter your Vortexa API key when prompted.
df = v.VesselAvailabilityBreakdown().search(
filter_port='1b79e18416d358d7e07b978abcab3f17e2ca75085a6d70ce1811cf4eaeaea886',
filter_days_to_arrival={"min": 0,"max": 5}
).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