Skip to content

Instantly share code, notes, and snippets.

@zsan
Created December 19, 2014 04:58
Show Gist options
  • Save zsan/88b601da1459aff000b4 to your computer and use it in GitHub Desktop.
Save zsan/88b601da1459aff000b4 to your computer and use it in GitHub Desktop.
{
"id"=>"TG410-2721:TG636-2817",
"comfort_index"=>0.0,
"fares"=>[{
"price"=>428.9,
"provider_code"=>"cheaptickets.sg",
"description"=>"Economy",
"alliance"=>"star_alliance",
"deeplink"=>"http://www.wego.com/flights/providers/2/deeplinks?search_id=avi_JI_9QsWwE1aFgprGJg&trip_id=SIN:TPE:2014-12-27&fare_id=cheaptickets.sg:22&route=SIN-TPE",
"deeplink_params"=>{
"trip_id"=>"SIN:TPE:2014-12-27",
"route"=>"SIN-TPE",
"search_id"=>"avi_JI_9QsWwE1aFgprGJg",
"fare_id"=>"cheaptickets.sg:22"
}
}, {
"price"=>431.90002,
"provider_code"=>"cheaptickets.sg",
"description"=>"Economy",
"alliance"=>"star_alliance",
"deeplink"=>"http://www.wego.com/flights/providers/2/deeplinks?search_id=avi_JI_9QsWwE1aFgprGJg&trip_id=SIN:TPE:2014-12-27&fare_id=cheaptickets.sg:24&route=SIN-TPE",
"deeplink_params"=>{
"trip_id"=>"SIN:TPE:2014-12-27",
"route"=>"SIN-TPE",
"search_id"=>"avi_JI_9QsWwE1aFgprGJg",
"fare_id"=>"cheaptickets.sg:24"
}
}, {
"price"=>461.90002,
"provider_code"=>"cheaptickets.sg",
"description"=>"Economy",
"alliance"=>"star_alliance",
"deeplink"=>"http://www.wego.com/flights/providers/2/deeplinks?search_id=avi_JI_9QsWwE1aFgprGJg&trip_id=SIN:TPE:2014-12-27&fare_id=cheaptickets.sg:20&route=SIN-TPE",
"deeplink_params"=>{
"trip_id"=>"SIN:TPE:2014-12-27",
"route"=>"SIN-TPE",
"search_id"=>"avi_JI_9QsWwE1aFgprGJg",
"fare_id"=>"cheaptickets.sg:20"
}
}, {
"price"=>474.9,
"provider_code"=>"cheaptickets.sg",
"description"=>"Economy",
"alliance"=>"star_alliance",
"deeplink"=>"http://www.wego.com/flights/providers/2/deeplinks?search_id=avi_JI_9QsWwE1aFgprGJg&trip_id=SIN:TPE:2014-12-27&fare_id=cheaptickets.sg:57&route=SIN-TPE",
"deeplink_params"=>{
"trip_id"=>"SIN:TPE:2014-12-27",
"route"=>"SIN-TPE",
"search_id"=>"avi_JI_9QsWwE1aFgprGJg",
"fare_id"=>"cheaptickets.sg:57"
}
}, {
"price"=>497.9,
"provider_code"=>"cheaptickets.sg",
"description"=>"Economy",
"alliance"=>"star_alliance",
"deeplink"=>"http://www.wego.com/flights/providers/2/deeplinks?search_id=avi_JI_9QsWwE1aFgprGJg&trip_id=SIN:TPE:2014-12-27&fare_id=cheaptickets.sg:54&route=SIN-TPE",
"deeplink_params"=>{
"trip_id"=>"SIN:TPE:2014-12-27",
"route"=>"SIN-TPE",
"search_id"=>"avi_JI_9QsWwE1aFgprGJg",
"fare_id"=>"cheaptickets.sg:54"
}
}],
"best_fare"=>{
"price"=>428.9,
"provider_code"=>"cheaptickets.sg",
"description"=>"Economy",
"alliance"=>"star_alliance",
"deeplink"=>"http://www.wego.com/flights/providers/2/deeplinks?search_id=avi_JI_9QsWwE1aFgprGJg&trip_id=SIN:TPE:2014-12-27&fare_id=cheaptickets.sg:22&route=SIN-TPE",
"deeplink_params"=>{
"trip_id"=>"SIN:TPE:2014-12-27",
"route"=>"SIN-TPE",
"search_id"=>"avi_JI_9QsWwE1aFgprGJg",
"fare_id"=>"cheaptickets.sg:22"
}
},
"outbound_segments"=>[{
"departure_code"=>"SIN",
"arrival_code"=>"BKK",
"departure_time"=>"2014-12-27T21:00:00+08:00",
"arrival_time"=>"2014-12-27T22:20:00+07:00",
"designator_code"=>"TG410",
"airline_code"=>"TG",
"aircraft_type"=>"773",
"departure_name"=>"Singapura",
"arrival_name"=>"Bangkok",
"airline_name"=>"Thai Airways"
}, {
"departure_code"=>"BKK",
"arrival_code"=>"TPE",
"departure_time"=>"2014-12-28T17:40:00+07:00",
"arrival_time"=>"2014-12-28T22:10:00+08:00",
"designator_code"=>"TG636",
"airline_code"=>"TG",
"aircraft_type"=>"330",
"departure_name"=>"Bangkok",
"arrival_name"=>"Taipei",
"airline_name"=>"Thai Airways"
}],
"inbound_segments"=>[],
"marketing_airline_code"=>"TG"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment