Created
October 20, 2014 10:15
-
-
Save zsan/e62217b942527c557dde to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env perl | |
$VAR1 = { | |
'arrival_airport_filters' => [ | |
{ | |
'price_min' => '1027156.06', | |
'name' => 'Bandar Udara Halim Perdanakusuma', | |
'code' => 'HLP' | |
}, | |
{ | |
'price_min' => '824599.94', | |
'name' => 'Jakarta Soekarno-Hatta', | |
'code' => 'CGK' | |
} | |
], | |
'routes' => [ | |
{ | |
'comfort_index' => '0', | |
'marketing_airline_code' => 'AK', | |
'outbound_segments' => [ | |
{ | |
'departure_time' => '2014-10-24T09:20:00+07:00', | |
'arrival_time' => '2014-10-24T10:40:00+07:00', | |
'departure_name' => 'Surabaya', | |
'airline_code' => 'QZ', | |
'airline_name' => 'Indonesia AirAsia', | |
'departure_code' => 'SUB', | |
'designator_code' => 'QZ7693', | |
'arrival_code' => 'CGK', | |
'arrival_name' => 'Jakarta Soekarno-Hatta' | |
} | |
], | |
'fares' => [ | |
{ | |
'deeplink_params' => { | |
'trip_id' => 'SUB:JKT:2014-10-24:2014-10-29', | |
'search_id' => 'skXwnCfYQ-id2wN9pmNohw', | |
'fare_id' => 'tiket.com:57', | |
'route' => 'SUB-CGK' | |
}, | |
'deeplink' => 'http://www.wego.com/flights/providers/2/deeplinks?search_id=skXwnCfYQ-id2wN9pmNohw&trip_id=SUB:JKT:2014-10-24:2014-10-29&fare_id=tiket.com:57&route=SUB-CGK', | |
'provider_code' => 'tiket.com', | |
'price' => '824599.94', | |
'description' => 'Economy' | |
}, | |
{ | |
'deeplink_params' => { | |
'trip_id' => 'SUB:JKT:2014-10-24:2014-10-29', | |
'search_id' => 'skXwnCfYQ-id2wN9pmNohw', | |
'fare_id' => 'tiket.com:58', | |
'route' => 'SUB-CGK' | |
}, | |
'deeplink' => 'http://www.wego.com/flights/providers/2/deeplinks?search_id=skXwnCfYQ-id2wN9pmNohw&trip_id=SUB:JKT:2014-10-24:2014-10-29&fare_id=tiket.com:58&route=SUB-CGK', | |
'provider_code' => 'tiket.com', | |
'price' => '824599.94', | |
'description' => 'Economy' | |
}, | |
], | |
'id' => 'QZ7693-2409=QZ7688-2922', | |
'inbound_segments' => [ | |
{ | |
'departure_time' => '2014-10-29T22:35:00+07:00', | |
'arrival_time' => '2014-10-29T23:50:00+07:00', | |
'departure_name' => 'Jakarta Soekarno-Hatta', | |
'airline_code' => 'QZ', | |
'airline_name' => 'Indonesia AirAsia', | |
'departure_code' => 'CGK', | |
'designator_code' => 'QZ7688', | |
'arrival_code' => 'SUB', | |
'arrival_name' => 'Surabaya' | |
} | |
], | |
'best_fare' => { | |
'deeplink_params' => { | |
'trip_id' => 'SUB:JKT:2014-10-24:2014-10-29', | |
'search_id' => 'skXwnCfYQ-id2wN9pmNohw', | |
'fare_id' => 'tiket.com:57', | |
'route' => 'SUB-CGK' | |
}, | |
'deeplink' => 'http://www.wego.com/flights/providers/2/deeplinks?search_id=skXwnCfYQ-id2wN9pmNohw&trip_id=SUB:JKT:2014-10-24:2014-10-29&fare_id=tiket.com:57&route=SUB-CGK', | |
'provider_code' => 'tiket.com', | |
'price' => '824599.94', | |
'description' => 'Economy' | |
} | |
}, | |
{ | |
'comfort_index' => '0', | |
'marketing_airline_code' => 'AK', | |
'outbound_segments' => [ | |
{ | |
'departure_time' => '2014-10-24T12:45:00+07:00', | |
'arrival_time' => '2014-10-24T14:05:00+07:00', | |
'departure_name' => 'Surabaya', | |
'airline_code' => 'QZ', | |
'airline_name' => 'Indonesia AirAsia', | |
'departure_code' => 'SUB', | |
'designator_code' => 'QZ7683', | |
'arrival_code' => 'CGK', | |
'arrival_name' => 'Jakarta Soekarno-Hatta' | |
} | |
], | |
'fares' => [ | |
{ | |
'deeplink_params' => { | |
'trip_id' => 'SUB:JKT:2014-10-24:2014-10-29', | |
'search_id' => 'skXwnCfYQ-id2wN9pmNohw', | |
'fare_id' => 'tiket.com:21', | |
'route' => 'SUB-CGK' | |
}, | |
'deeplink' => 'http://www.wego.com/flights/providers/2/deeplinks?search_id=skXwnCfYQ-id2wN9pmNohw&trip_id=SUB:JKT:2014-10-24:2014-10-29&fare_id=tiket.com:21&route=SUB-CGK', | |
'provider_code' => 'tiket.com', | |
'price' => '824599.94', | |
'description' => 'Economy' | |
}, | |
{ | |
'deeplink_params' => { | |
'trip_id' => 'SUB:JKT:2014-10-24:2014-10-29', | |
'search_id' => 'skXwnCfYQ-id2wN9pmNohw', | |
'fare_id' => 'tiket.com:22', | |
'route' => 'SUB-CGK' | |
}, | |
'deeplink' => 'http://www.wego.com/flights/providers/2/deeplinks?search_id=skXwnCfYQ-id2wN9pmNohw&trip_id=SUB:JKT:2014-10-24:2014-10-29&fare_id=tiket.com:22&route=SUB-CGK', | |
'provider_code' => 'tiket.com', | |
'price' => '824599.94', | |
'description' => 'Economy' | |
}, | |
], | |
'id' => 'QZ7683-2412=QZ7688-2922', | |
'inbound_segments' => [ | |
{ | |
'departure_time' => '2014-10-29T22:35:00+07:00', | |
'arrival_time' => '2014-10-29T23:50:00+07:00', | |
'departure_name' => 'Jakarta Soekarno-Hatta', | |
'airline_code' => 'QZ', | |
'airline_name' => 'Indonesia AirAsia', | |
'departure_code' => 'CGK', | |
'designator_code' => 'QZ7688', | |
'arrival_code' => 'SUB', | |
'arrival_name' => 'Surabaya' | |
} | |
], | |
'best_fare' => { | |
'deeplink_params' => { | |
'trip_id' => 'SUB:JKT:2014-10-24:2014-10-29', | |
'search_id' => 'skXwnCfYQ-id2wN9pmNohw', | |
'fare_id' => 'tiket.com:21', | |
'route' => 'SUB-CGK' | |
}, | |
'deeplink' => 'http://www.wego.com/flights/providers/2/deeplinks?search_id=skXwnCfYQ-id2wN9pmNohw&trip_id=SUB:JKT:2014-10-24:2014-10-29&fare_id=tiket.com:21&route=SUB-CGK', | |
'provider_code' => 'tiket.com', | |
'price' => '824599.94', | |
'description' => 'Economy' | |
} | |
}, | |
], | |
'provider_filters' => [ | |
{ | |
'price_min' => '928200', | |
'name' => 'arenatiket.com', | |
'code' => 'arenatiket.com' | |
}, | |
{ | |
'price_min' => '1152400', | |
'name' => 'citilink.co.id', | |
'code' => 'citilink.co.id' | |
}, | |
{ | |
'price_min' => '1941599.9', | |
'name' => 'garuda-indonesia.com', | |
'code' => 'garuda-indonesia.com' | |
}, | |
{ | |
'price_min' => '1061294.2', | |
'name' => 'id.bravofly.com', | |
'code' => 'id.bravofly.com' | |
}, | |
{ | |
'price_min' => '1147133', | |
'name' => 'id.edreams.com', | |
'code' => 'id.edreams.com' | |
}, | |
{ | |
'price_min' => '920773.94', | |
'name' => 'nusatrip.com', | |
'code' => 'nusatrip.com' | |
}, | |
{ | |
'price_min' => '824599.94', | |
'name' => 'tiket.com', | |
'code' => 'tiket.com' | |
} | |
], | |
'query_id' => '2014-10-20', | |
'fares_query_type' => 'route', | |
'routes_count' => 1565, | |
'outbound_departure_day_time_filter' => { | |
'min' => 305, | |
'max' => 1370 | |
}, | |
'filtered_routes_count' => 1565, | |
'price_filter' => { | |
'max_usd' => '219.16408', | |
'min_usd' => '68.367516', | |
'min' => '824599.94', | |
'max' => '2643400' | |
}, | |
'stopover_duration_filter' => { | |
'min' => 0, | |
'max' => 0 | |
}, | |
'stop_type_filters' => [ | |
{ | |
'price_min' => '824599.94', | |
'name' => 'Direct', | |
'code' => 'none' | |
} | |
] | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment