Glad it worked! I wrote a simple loop in Python to request the data for every day in the last two years. Something like:
import datetime

# Get the current date
current_date = datetime.date.today()

# Calculate the date two years ago
two_years_ago = current_date - datetime.timedelta(days=365 * 2)

# Print each day in ISO8601 format
while current_date >= two_years_ago:
    print(current_date.isoformat())
    # Code here to request the Tado API for that specific date
    current_date -= datetime.timedelta(days=1)
Good luck!