First let's import our requirements
from datetime import datetime
import vortexasdk as v
Now let's load a dataframe of vessel movements that loaded at the start of August, 2017.
You'll need to enter your Vortexa API key when prompted.
df = v.VesselMovements()\
.search(filter_activity='loading_state',
filter_time_min=datetime(2017, 8, 1),
filter_time_max=datetime(2017, 8, 2))\
.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