#!/usr/bin/env python # coding: utf-8 # ### Try out the VortexaSDK # First let's import our requirements # In[ ]: import vortexasdk as v # Now let's look at the top 25 available vessels arriving at Rotterdam port in the next 35 days. # You'll need to enter your Vortexa API key when prompted. # In[ ]: df = v.VesselAvailabilitySearch().search( filter_port='1b79e18416d358d7e07b978abcab3f17e2ca75085a6d70ce1811cf4eaeaea886', filter_days_to_arrival={"min": 0,"max": 35}, order='days_to_arrival', order_direction="asc" ).to_df() # In[ ]: df.head(25) # That's it! You've successfully loaded data using the Vortexa SDK. Check out https://vortechsa.github.io/python-sdk/ for more examples