Docs / SDKs / Go
Go SDK
github.com/teo/sdk-go for Go 1.21+. 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, err := client.Flight.Search(ctx, teo.FlightSearchInput{
Origin: "JFK",
Destination: "LHR",
DepartureDate: "2026-08-15",
ReturnDate: "2026-08-22",
Cabin: "business",
Travelers: teo.Travelers{Adults: 1, Children: 0, Infants: 0},
Type: "both", // "cash" | "award" | "both"
})
for _, opt := range result.Options {
fmt.Println(opt.ID, opt.TotalPrice, opt.AwardPrice, opt.Cabin)
}Other SDKs
TypeScript, Python, Java, PHP, .NET.