Created
October 26, 2016 08:56
-
-
Save zaharidichev/79fe53f59e45e88961b2eefe1d1d9566 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
.....Result From SkyPicker..... | |
{ | |
"mapIdfrom": "london", | |
"duration": { | |
"return": null, | |
"departure": 1347 | |
}, | |
"flyTo": "EWR", | |
"conversion": { | |
"GBP": 586, | |
"EUR": 650 | |
}, | |
"deep_link": "https://www.kiwi.com/deep?type=default&from=LGW&to=EWR&departure=04-11-2016&flightsId=285661639|CC1701292544_284021828|CD1999756509_322123892&affilid=airconomist&price=650.8175&passengers=1&lang=en¤cy=GBP&booking_token=GamFTRHoBQ/v6QB8IrykhpoVGKB0KA6sVANbFz24DytA+93ElHpBSQO1L4OFrne9sQ96aCdoKpR4V73Mtr6MAGL63JFr0Y2Ddjm8NeAp7uA8vzID+WuZcPAJV2EKlqPA96EcwbuRpvM1CrF5dhMHz0GfW98sU2WqO6l1yFiELxzo2cc4OQoPomXY0TuKhn/b5SVu4DJAGjQ6IBiYd1LQkY7lsEP8IlNgOAMSM5DRLMAvB18XnZs8e4uCz7l9GBBPKcWAv+b2TJWK3vkjKAC3oZRZ1i6HasJF05piRwljL4xlft9x/9AYwbFXKfPxxKqeSwSnF01r2XQF22oRyw4pDfGVrfl+zuLSuapvGe4eNqekChtQmFY+BGLO7Zl4Bv5oVSxMth3B47P0q+DpO7L8W+pUohc8Yje0qYG2G1JIe7+ow1hg1eQEWav2vUW3RbhRUzxYNWw5ctERuS4Dk5M/Mtment1gLNwl/Ome6oGalVroV+DvbSJtHlzp0+Mq/JrMLn4IlNgwaH/us1oAvKotkNbGORF8imKg8jWvj/RpMGstFasl0uzUeUaQS4BGqn7tIEdnIU4P+VS6CZSPJu51cu5eces/+Depsps+9BGL/To=", | |
"mapIdto": "new-york", | |
"nightsInDest": null, | |
"id": "285661639|CC1701292544_284021828|CD1999756509_322123892", | |
"fly_duration": "22h 27m", | |
"countryTo": { | |
"code": "US", | |
"name": "United States" | |
}, | |
"baglimit": { | |
"hand_width": 35, | |
"hand_length": 55, | |
"hold_weight": 20, | |
"hand_height": 20, | |
"hand_weight": 7 | |
}, | |
"aTimeUTC": 1478360220, | |
"p3": 1, | |
"price": 586, | |
"type_flights": [ | |
"GDS-r", | |
"GDS", | |
"lcc" | |
], | |
"bags_price": { | |
"1": 72, | |
"2": 152 | |
}, | |
"cityTo": "New York", | |
"flyFrom": "LGW", | |
"dTimeUTC": 1478279400, | |
"p2": 1, | |
"countryFrom": { | |
"code": "GB", | |
"name": "United Kingdom" | |
}, | |
"hidden_flights": [], | |
"p1": 1, | |
"dTime": 1478279400, | |
"booking_token": "GamFTRHoBQ/v6QB8IrykhpoVGKB0KA6sVANbFz24DytA+93ElHpBSQO1L4OFrne9sQ96aCdoKpR4V73Mtr6MAGL63JFr0Y2Ddjm8NeAp7uA8vzID+WuZcPAJV2EKlqPA96EcwbuRpvM1CrF5dhMHz0GfW98sU2WqO6l1yFiELxzo2cc4OQoPomXY0TuKhn/b5SVu4DJAGjQ6IBiYd1LQkY7lsEP8IlNgOAMSM5DRLMAvB18XnZs8e4uCz7l9GBBPKcWAv+b2TJWK3vkjKAC3oZRZ1i6HasJF05piRwljL4xlft9x/9AYwbFXKfPxxKqeSwSnF01r2XQF22oRyw4pDfGVrfl+zuLSuapvGe4eNqekChtQmFY+BGLO7Zl4Bv5oVSxMth3B47P0q+DpO7L8W+pUohc8Yje0qYG2G1JIe7+ow1hg1eQEWav2vUW3RbhRUzxYNWw5ctERuS4Dk5M/Mtment1gLNwl/Ome6oGalVroV+DvbSJtHlzp0+Mq/JrMLn4IlNgwaH/us1oAvKotkNbGORF8imKg8jWvj/RpMGstFasl0uzUeUaQS4BGqn7tIEdnIU4P+VS6CZSPJu51cu5eces/+Depsps+9BGL/To=", | |
"cityFrom": "London", | |
"aTime": 1478345820, | |
"route": [ | |
{ | |
"mapIdfrom": "london", | |
"flight_no": 7015, | |
"original_return": 0, | |
"lngFrom": -0.1164722443, | |
"flyTo": "JFK", | |
"mapIdto": "new-york", | |
"source": null, | |
"id": "285661639", | |
"latFrom": 51.5135984673, | |
"lngTo": -74.0135622025, | |
"dTimeUTC": 1478279400, | |
"aTimeUTC": 1478309400, | |
"return": 0, | |
"price": 1, | |
"cityTo": "New York", | |
"flyFrom": "LGW", | |
"latTo": 40.7052700759, | |
"dTime": 1478279400, | |
"airline": "DY", | |
"cityFrom": "London", | |
"aTime": 1478295000 | |
}, | |
{ | |
"mapIdfrom": "new-york", | |
"flight_no": 430, | |
"original_return": 0, | |
"lngFrom": -74.0135622025, | |
"flyTo": "BOS", | |
"mapIdto": "boston", | |
"source": "GDS", | |
"id": "CC1701292544_284021828", | |
"latFrom": 40.7052700759, | |
"lngTo": -71.0598, | |
"dTimeUTC": 1478343600, | |
"aTimeUTC": 1478347980, | |
"return": 0, | |
"price": 1, | |
"cityTo": "Boston", | |
"flyFrom": "JFK", | |
"latTo": 42.3584, | |
"dTime": 1478329200, | |
"airline": "DL", | |
"cityFrom": "New York", | |
"aTime": 1478333580 | |
}, | |
{ | |
"mapIdfrom": "boston", | |
"flight_no": 1493, | |
"original_return": 0, | |
"lngFrom": -71.0598, | |
"flyTo": "EWR", | |
"mapIdto": "new-york", | |
"source": "GDS-r", | |
"id": "CD1999756509_322123892", | |
"latFrom": 42.3584, | |
"lngTo": -74.0135622025, | |
"dTimeUTC": 1478355300, | |
"aTimeUTC": 1478360220, | |
"return": 0, | |
"price": 1, | |
"cityTo": "New York", | |
"flyFrom": "BOS", | |
"latTo": 40.7052700759, | |
"dTime": 1478340900, | |
"airline": "UA", | |
"cityFrom": "Boston", | |
"aTime": 1478345820 | |
} | |
], | |
"distance": 5577.89 | |
} | |
.....Result Adter going through our skypicker mapper..... | |
{ | |
"trip": { | |
"tripId": "285661639|CC1701292544_284021828|CD1999756509_322123892", | |
"pricePerPerson": 586, | |
"totalPrice": 586, | |
"currency": "GBP", | |
"outboundFlights": [ | |
{ | |
"flightId": "285661639", | |
"flightNumber": "7015", | |
"departureAirport": { | |
"iataCode": "LGW", | |
"city": "London", | |
"country": "United Kingdom", | |
"airportName": "London Gatwick Airport", | |
"locationInfo": "London, England, United Kingdom", | |
"locationMetadata": { | |
"airportLocationId": "33139d3d-a74d-35e4-9397-ab95c394223f", | |
"cityLocationId": "4ad26dda-c519-3ce1-8a20-8998405cdd11", | |
"countryLocationId": "89f9c9f4-89be-3a83-8f57-e53b9197d288", | |
"geoLocation": { | |
"latitude": 51.148101806640625, | |
"longitude": -0.19027799367904663 | |
} | |
}, | |
"flagUrl": "https://s3.eu-central-1.amazonaws.com/airconomist/images/ios/flag_images/Countries_United_Kingdom.png" | |
}, | |
"destinationAirport": { | |
"iataCode": "JFK", | |
"city": "New York City", | |
"country": "United States", | |
"airportName": "John F. Kennedy International Airport", | |
"locationInfo": "New York City, New York, United States", | |
"locationMetadata": { | |
"airportLocationId": "e8178f8f-2652-3f80-a53b-fc4c51e7812b", | |
"cityLocationId": "ab87dd62-38b4-3052-9802-d71cdd88a89f", | |
"countryLocationId": "f253efe3-02d3-3ab2-a4a7-6e0ce65be769", | |
"geoLocation": { | |
"latitude": 40.63980103, | |
"longitude": -73.77890015 | |
} | |
}, | |
"flagUrl": "https://s3.eu-central-1.amazonaws.com/airconomist/images/ios/flag_images/Countries_United_States.png" | |
}, | |
"airline": { | |
"id": "57f695cd52faff00016dd54b", | |
"name": "Norwegian Air", | |
"iataCode": "DY", | |
"iconUrl": "https://s3.eu-central-1.amazonaws.com/airconomist/images/ios/airline_images/dy-logo.png" | |
}, | |
"departureTimeUTC": 1478279400, | |
"destinationTimeUTC": 1478309400, | |
"departureTimeLocal": 1478279400, | |
"destinationTimeLocal": 1478295000, | |
"flightDuration": 30000 | |
} | |
], | |
"inboundFlights": [ | |
{ | |
"flightId": "CC1701292544_284021828", | |
"flightNumber": "430", | |
"departureAirport": { | |
"iataCode": "JFK", | |
"city": "New York City", | |
"country": "United States", | |
"airportName": "John F. Kennedy International Airport", | |
"locationInfo": "New York City, New York, United States", | |
"locationMetadata": { | |
"airportLocationId": "e8178f8f-2652-3f80-a53b-fc4c51e7812b", | |
"cityLocationId": "ab87dd62-38b4-3052-9802-d71cdd88a89f", | |
"countryLocationId": "f253efe3-02d3-3ab2-a4a7-6e0ce65be769", | |
"geoLocation": { | |
"latitude": 40.63980103, | |
"longitude": -73.77890015 | |
} | |
}, | |
"flagUrl": "https://s3.eu-central-1.amazonaws.com/airconomist/images/ios/flag_images/Countries_United_States.png" | |
}, | |
"destinationAirport": { | |
"iataCode": "BOS", | |
"city": "Boston", | |
"country": "United States", | |
"airportName": "Logan International Airport", | |
"locationInfo": "Boston, Massachusetts, United States", | |
"locationMetadata": { | |
"airportLocationId": "e938c5bb-d29d-326c-ba60-0a0330465f8b", | |
"cityLocationId": "eb4da938-d18f-37d9-8656-46fc1509e3b5", | |
"countryLocationId": "f253efe3-02d3-3ab2-a4a7-6e0ce65be769", | |
"geoLocation": { | |
"latitude": 42.36429977, | |
"longitude": -71.00520325 | |
} | |
}, | |
"flagUrl": "https://s3.eu-central-1.amazonaws.com/airconomist/images/ios/flag_images/Countries_United_States.png" | |
}, | |
"airline": { | |
"id": "57f695cd52faff00016dd543", | |
"name": "Delta Air Lines", | |
"iataCode": "DL", | |
"iconUrl": "https://s3.eu-central-1.amazonaws.com/airconomist/images/ios/airline_images/dl-logo.png" | |
}, | |
"departureTimeUTC": 1478343600, | |
"destinationTimeUTC": 1478347980, | |
"departureTimeLocal": 1478329200, | |
"destinationTimeLocal": 1478333580, | |
"flightDuration": 4380 | |
}, | |
{ | |
"flightId": "CD1999756509_322123892", | |
"flightNumber": "1493", | |
"departureAirport": { | |
"iataCode": "BOS", | |
"city": "Boston", | |
"country": "United States", | |
"airportName": "Logan International Airport", | |
"locationInfo": "Boston, Massachusetts, United States", | |
"locationMetadata": { | |
"airportLocationId": "e938c5bb-d29d-326c-ba60-0a0330465f8b", | |
"cityLocationId": "eb4da938-d18f-37d9-8656-46fc1509e3b5", | |
"countryLocationId": "f253efe3-02d3-3ab2-a4a7-6e0ce65be769", | |
"geoLocation": { | |
"latitude": 42.36429977, | |
"longitude": -71.00520325 | |
} | |
}, | |
"flagUrl": "https://s3.eu-central-1.amazonaws.com/airconomist/images/ios/flag_images/Countries_United_States.png" | |
}, | |
"destinationAirport": { | |
"iataCode": "EWR", | |
"city": "New York", | |
"country": "United States", | |
"airportName": "Newark Liberty International Airport", | |
"locationInfo": "New York, New Jersey, United States", | |
"locationMetadata": { | |
"airportLocationId": "02cc65e6-314c-3bfc-8d6c-50ebf876fca7", | |
"cityLocationId": "b4be38d9-aca3-3a3e-9074-d7bf6c20cb62", | |
"countryLocationId": "f253efe3-02d3-3ab2-a4a7-6e0ce65be769", | |
"geoLocation": { | |
"latitude": 40.692501068115234, | |
"longitude": -74.168701171875 | |
} | |
}, | |
"flagUrl": "https://s3.eu-central-1.amazonaws.com/airconomist/images/ios/flag_images/Countries_United_States.png" | |
}, | |
"airline": { | |
"id": "57f695cd52faff00016dd6ea", | |
"name": "United Airlines", | |
"iataCode": "UA", | |
"iconUrl": "https://s3.eu-central-1.amazonaws.com/airconomist/images/ios/airline_images/ua-logo.png" | |
}, | |
"departureTimeUTC": 1478355300, | |
"destinationTimeUTC": 1478360220, | |
"departureTimeLocal": 1478340900, | |
"destinationTimeLocal": 1478345820, | |
"flightDuration": 4920 | |
} | |
], | |
"bookingToken": "GamFTRHoBQ/v6QB8IrykhpoVGKB0KA6sVANbFz24DytA+93ElHpBSQO1L4OFrne9kDbykxOpT9MenqaRJECG/fxRdk7mCueGPov7KoZiek+azUe5LJHC4mCtqCxIE1TNBkqrc1s+vHWiQFf7RWLTXPnukwQd2dy5MVXQC4GLx+IneJKIyN9ekpNk7JK1rjadeR+N2GYPqQhASLDtVZSXDOeKml7GpIU8vIYF/4R/U6gmZJxiMTAO4wIxGu6aR1z3i9dKPneEd1Gsx6Y9cj6ev1URxf4VAruJCMhRi2UQl3gNLs/kwuEGxjIPrXl2qXPZRtpKXdMB4WdiMWw3jveWQP13XK9wBbZCdw9avdvOjDfXlX5iTN6DRhXSzrFFBnqnzitRv1uX7CkLU3E9FsDE5z3IETZFqD6AH4k/TeHJazBo2T0OyA/6g7YC2Uu8n392kPPLv5qsZfN0V+yQaVzGJ/K/vznNOYiGTBFmPCRNHnmPX5W2+80wAUWluE1ePauOBcbQrpmxWDxThZpcaQtjbXgTS3SrpGfFvhwzvYKszEtAsNvvjPej6Q3MkMuzUKBwOOaq0QUUR4nxr8sdL3OEQ/Es2Yxtolgxy9jhlCGdsvc=", | |
"deepLink": "https://www.kiwi.com/deep?type=default&from=LGW&to=EWR&departure=04-11-2016&flightsId=285661639|CC1701292544_284021828|CD1999756509_322123892&affilid=airconomist&price=650.8175&passengers=1&lang=en¤cy=GBP&booking_token=GamFTRHoBQ/v6QB8IrykhpoVGKB0KA6sVANbFz24DytA+93ElHpBSQO1L4OFrne9kDbykxOpT9MenqaRJECG/fxRdk7mCueGPov7KoZiek+azUe5LJHC4mCtqCxIE1TNBkqrc1s+vHWiQFf7RWLTXPnukwQd2dy5MVXQC4GLx+IneJKIyN9ekpNk7JK1rjadeR+N2GYPqQhASLDtVZSXDOeKml7GpIU8vIYF/4R/U6gmZJxiMTAO4wIxGu6aR1z3i9dKPneEd1Gsx6Y9cj6ev1URxf4VAruJCMhRi2UQl3gNLs/kwuEGxjIPrXl2qXPZRtpKXdMB4WdiMWw3jveWQP13XK9wBbZCdw9avdvOjDfXlX5iTN6DRhXSzrFFBnqnzitRv1uX7CkLU3E9FsDE5z3IETZFqD6AH4k/TeHJazBo2T0OyA/6g7YC2Uu8n392kPPLv5qsZfN0V+yQaVzGJ/K/vznNOYiGTBFmPCRNHnmPX5W2+80wAUWluE1ePauOBcbQrpmxWDxThZpcaQtjbXgTS3SrpGfFvhwzvYKszEtAsNvvjPej6Q3MkMuzUKBwOOaq0QUUR4nxr8sdL3OEQ/Es2Yxtolgxy9jhlCGdsvc=", | |
"imageUrl": "https://s3.eu-central-1.amazonaws.com/airconomist/images/ios/city_images/EWR.jpg", | |
"numPassengers": 1, | |
"toAirportCode": "EWR", | |
"duration": "UNDEFINED", | |
"isInWeekend": true, | |
"airconPricePerPerson": { | |
"originalPriceCurrency": "GBP", | |
"originalPrice": 586, | |
"originalPriceConversion": { | |
"originCurrency": { | |
"currencyCode": "GBP", | |
"currencyName": "British Pound", | |
"currencySymbol": "£" | |
}, | |
"targetCurrency": { | |
"currencyCode": "GBP", | |
"currencyName": "British Pound", | |
"currencySymbol": "£" | |
}, | |
"exchangeRate": 1, | |
"amountInOriginCurrency": 586, | |
"amountInTargetCurrency": 586 | |
}, | |
"airconomistPrice": 615.3, | |
"airconomistPriceConversion": { | |
"originCurrency": { | |
"currencyCode": "GBP", | |
"currencyName": "British Pound", | |
"currencySymbol": "£" | |
}, | |
"targetCurrency": { | |
"currencyCode": "GBP", | |
"currencyName": "British Pound", | |
"currencySymbol": "£" | |
}, | |
"exchangeRate": 1, | |
"amountInOriginCurrency": 615.3, | |
"amountInTargetCurrency": 615.3 | |
} | |
}, | |
"airconTotalPrice": { | |
"originalPriceCurrency": "GBP", | |
"originalPrice": 586, | |
"originalPriceConversion": { | |
"originCurrency": { | |
"currencyCode": "GBP", | |
"currencyName": "British Pound", | |
"currencySymbol": "£" | |
}, | |
"targetCurrency": { | |
"currencyCode": "GBP", | |
"currencyName": "British Pound", | |
"currencySymbol": "£" | |
}, | |
"exchangeRate": 1, | |
"amountInOriginCurrency": 586, | |
"amountInTargetCurrency": 586 | |
}, | |
"airconomistPrice": 615.3, | |
"airconomistPriceConversion": { | |
"originCurrency": { | |
"currencyCode": "GBP", | |
"currencyName": "British Pound", | |
"currencySymbol": "£" | |
}, | |
"targetCurrency": { | |
"currencyCode": "GBP", | |
"currencyName": "British Pound", | |
"currencySymbol": "£" | |
}, | |
"exchangeRate": 1, | |
"amountInOriginCurrency": 615.3, | |
"amountInTargetCurrency": 615.3 | |
} | |
} | |
}, | |
"suggestions": [], | |
"suggestionRanking": 0 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment