#!/usr/bin/env python # coding: utf-8 # ### Try out the VortexaSDK # First let's import our requirements # In[ ]: from datetime import datetime import vortexasdk as v # Average daily WS rate for the TD3C route between 1st and 15th November 2021. # You'll need to enter your Vortexa API key when prompted. # In[ ]: df = v.FreightPricingTimeseries().search( routes=["TD3C"], time_min=datetime(2021, 11, 1), time_max=datetime(2021, 11, 15), breakdown_frequency="day", breakdown_property="rate" ).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