Docs / SDKs / Python
Python SDK
teo-sdk for Python 3.9+. Planned — not yet available.
Coming soon
This SDK is on the roadmap. For now, use the TypeScript SDK or call the REST API directly.
Search
result = teo.flight.search(
origin="JFK",
destination="LHR",
departure_date="2026-08-15",
return_date="2026-08-22",
cabin="business",
travelers={"adults": 1, "children": 0, "infants": 0},
type="both", # "cash" | "award" | "both"
)
for option in result.options:
# awardPrice = miles when type includes award
print(option.id, option.total_price, option.award_price, option.cabin)Async
from teo import AsyncTEO
async with AsyncTEO(api_key=...) as teo:
result = await teo.flight.search(...)Other SDKs
TypeScript, Go, Java, PHP, .NET.