Skip to content

Instantly share code, notes, and snippets.

@igorp1
Created January 28, 2026 09:39
Show Gist options
  • Select an option

  • Save igorp1/d413fdd8ad564bf74c2965e09cdc89f8 to your computer and use it in GitHub Desktop.

Select an option

Save igorp1/d413fdd8ad564bf74c2965e09cdc89f8 to your computer and use it in GitHub Desktop.
Tristan Mallorca <> Duffel
results = [
%{
data: %{
destination: "LGW",
origin: "JFK",
arrival_time: "17:50",
departure_time: "18:00",
price: "432GBP"
},
source: :duffel_air
},
%{
data: %{
flights: "JFK/LGW",
arrival_time: "17:50",
departure_time: "18:00",
price_fractional: "12300",
currency_code: "GBP"
},
source: :virgin
},
%{
data: %{
flights: "JFK/LGW",
arrival_time: "19:30",
departure_time: "15:00",
price_fractional: "10900",
currency_code: "GBP"
},
source: :virgin
},
%{
data: %{
destination_code: "lgw",
origin_code: "jfk",
arrival_datetime: "2020-07-23 12:07:53 +0000",
departure_time: "2020-07-23 09:01:20 +0000",
price: %{
code: "USD",
value: "325.50"
}
},
source: :aa
},
%{
data: %{
destination_code: "lgw",
origin_code: "jfk",
duration: "542",
take_off_at: "2020-07-23 09:01:20 +0000",
price: %{
code: "GBP",
value: "425.50"
}
},
source: :ba
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment