Created
March 20, 2014 17:38
-
-
Save saishaddai/9669493 to your computer and use it in GitHub Desktop.
JSON Response from despegar API http://api.despegar.com/availability/flights/oneWay/HMO/MEX/2014-03-20/1/0/0
This file contains hidden or 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
| { | |
| "outboundRoutes": [ | |
| { | |
| "hasAirportChange": false, | |
| "type": "AIR", | |
| "segments": [ | |
| { | |
| "arrival": { | |
| "date": "2014-05-25T11: 50: 00", | |
| "timezone": -5, | |
| "location": "MTY", | |
| "locationDescription": "AeropuertoGenMarianoEscobedo" | |
| }, | |
| "departure": { | |
| "date": "2014-05-25T06: 40: 00", | |
| "timezone": -7, | |
| "location": "HMO", | |
| "locationDescription": "AeropuertoGenPesqueiraGarcia" | |
| }, | |
| "delayInfo": { | |
| "onTimePercent": 91.38, | |
| "cancelledPercent": 0, | |
| "moreThan30MinutesPercent": 6.9, | |
| "moreThan60MinutesPercent": 1.72, | |
| "delayCategory": "UNDEFINED", | |
| "provider": "FS", | |
| "leg": { | |
| "flightNumber": 2111, | |
| "departure": "HMO", | |
| "arrival": "CUL", | |
| "operatingCarrier": "AM" | |
| } | |
| }, | |
| "flightNumber": 2111, | |
| "bookingClass": "R", | |
| "marketingCabinTypeCode": "ECONOMY", | |
| "marketingCabinTypeDescription": "Económica", | |
| "marketingCarrierCode": "AM", | |
| "marketingCarrierDescription": "Aeromexico", | |
| "operatingCarrierCode": "AM", | |
| "operatingCarrierDescription": "Aeromexico", | |
| "stopovers": [ | |
| { | |
| "airportCode": "CUL", | |
| "airportDescription": "AeropuertoFedlDeBachigualato", | |
| "duration": 30 | |
| } | |
| ], | |
| "duration": "3: 10" | |
| }, | |
| { | |
| "arrival": { | |
| "date": "2014-05-25T18: 00: 00", | |
| "timezone": -5, | |
| "location": "TLC", | |
| "locationDescription": "AeropuertoInternacionalLicenciadoAdolfoLopezMateos" | |
| }, | |
| "departure": { | |
| "date": "2014-05-25T16: 37: 00", | |
| "timezone": -5, | |
| "location": "MTY", | |
| "locationDescription": "AeropuertoGenMarianoEscobedo" | |
| }, | |
| "delayInfo": { | |
| "delayCategory": "UNDEFINED", | |
| "leg": { | |
| "flightNumber": 2618, | |
| "departure": "MTY", | |
| "arrival": "TLC", | |
| "operatingCarrier": "AM" | |
| } | |
| }, | |
| "flightNumber": 2618, | |
| "bookingClass": "R", | |
| "marketingCabinTypeCode": "ECONOMY", | |
| "marketingCabinTypeDescription": "Económica", | |
| "marketingCarrierCode": "AM", | |
| "marketingCarrierDescription": "Aeromexico", | |
| "operatingCarrierCode": "AM", | |
| "operatingCarrierDescription": "Aeromexico", | |
| "stopovers": [], | |
| "duration": "1: 23" | |
| } | |
| ], | |
| "duration": "9: 20" | |
| }, | |
| { | |
| "hasAirportChange": false, | |
| "type": "AIR", | |
| "segments": [ | |
| { | |
| "arrival": { | |
| "date": "2014-05-25T11: 33: 00", | |
| "timezone": -5, | |
| "location": "MTY", | |
| "locationDescription": "AeropuertoGenMarianoEscobedo" | |
| }, | |
| "departure": { | |
| "date": "2014-05-25T07: 36: 00", | |
| "timezone": -7, | |
| "location": "HMO", | |
| "locationDescription": "AeropuertoGenPesqueiraGarcia" | |
| }, | |
| "delayInfo": { | |
| "onTimePercent": 93.33, | |
| "cancelledPercent": 0, | |
| "moreThan30MinutesPercent": 3.33, | |
| "moreThan60MinutesPercent": 3.33, | |
| "delayCategory": "UNDEFINED", | |
| "provider": "FS", | |
| "leg": { | |
| "flightNumber": 2050, | |
| "departure": "HMO", | |
| "arrival": "MTY", | |
| "operatingCarrier": "AM" | |
| } | |
| }, | |
| "flightNumber": 2050, | |
| "bookingClass": "R", | |
| "marketingCabinTypeCode": "ECONOMY", | |
| "marketingCabinTypeDescription": "Económica", | |
| "marketingCarrierCode": "AM", | |
| "marketingCarrierDescription": "Aeromexico", | |
| "operatingCarrierCode": "AM", | |
| "operatingCarrierDescription": "Aeromexico", | |
| "stopovers": [], | |
| "duration": "1: 57" | |
| }, | |
| { | |
| "arrival": { | |
| "date": "2014-05-25T18: 00: 00", | |
| "timezone": -5, | |
| "location": "TLC", | |
| "locationDescription": "AeropuertoInternacionalLicenciadoAdolfoLopezMateos" | |
| }, | |
| "departure": { | |
| "date": "2014-05-25T16: 37: 00", | |
| "timezone": -5, | |
| "location": "MTY", | |
| "locationDescription": "AeropuertoGenMarianoEscobedo" | |
| }, | |
| "delayInfo": { | |
| "delayCategory": "UNDEFINED", | |
| "leg": { | |
| "flightNumber": 2618, | |
| "departure": "MTY", | |
| "arrival": "TLC", | |
| "operatingCarrier": "AM" | |
| } | |
| }, | |
| "flightNumber": 2618, | |
| "bookingClass": "R", | |
| "marketingCabinTypeCode": "ECONOMY", | |
| "marketingCabinTypeDescription": "Económica", | |
| "marketingCarrierCode": "AM", | |
| "marketingCarrierDescription": "Aeromexico", | |
| "operatingCarrierCode": "AM", | |
| "operatingCarrierDescription": "Aeromexico", | |
| "stopovers": [], | |
| "duration": "1: 23" | |
| } | |
| ], | |
| "duration": "8: 24" | |
| }, | |
| { | |
| "hasAirportChange": false, | |
| "type": "AIR", | |
| "segments": [ | |
| { | |
| "arrival": { | |
| "date": "2014-05-25T14: 38: 00", | |
| "timezone": -5, | |
| "location": "GDL", | |
| "locationDescription": "AeropuertoInternacionalDonMiguelHidalgoyCostilla" | |
| }, | |
| "departure": { | |
| "date": "2014-05-25T10: 30: 00", | |
| "timezone": -7, | |
| "location": "HMO", | |
| "locationDescription": "AeropuertoGenPesqueiraGarcia" | |
| }, | |
| "delayInfo": null, | |
| "flightNumber": 2622, | |
| "bookingClass": "R", | |
| "marketingCabinTypeCode": "ECONOMY", | |
| "marketingCabinTypeDescription": "Económica", | |
| "marketingCarrierCode": "AM", | |
| "marketingCarrierDescription": "Aeromexico", | |
| "operatingCarrierCode": "AM", | |
| "operatingCarrierDescription": "Aeromexico", | |
| "stopovers": [], | |
| "duration": "2: 08" | |
| }, | |
| { | |
| "arrival": { | |
| "date": "2014-05-25T18: 00: 00", | |
| "timezone": -5, | |
| "location": "TLC", | |
| "locationDescription": "AeropuertoInternacionalLicenciadoAdolfoLopezMateos" | |
| }, | |
| "departure": { | |
| "date": "2014-05-25T16: 55: 00", | |
| "timezone": -5, | |
| "location": "GDL", | |
| "locationDescription": "AeropuertoInternacionalDonMiguelHidalgoyCostilla" | |
| }, | |
| "delayInfo": null, | |
| "flightNumber": 2624, | |
| "bookingClass": "R", | |
| "marketingCabinTypeCode": "ECONOMY", | |
| "marketingCabinTypeDescription": "Económica", | |
| "marketingCarrierCode": "AM", | |
| "marketingCarrierDescription": "Aeromexico", | |
| "operatingCarrierCode": "AM", | |
| "operatingCarrierDescription": "Aeromexico", | |
| "stopovers": [], | |
| "duration": "1: 05" | |
| } | |
| ], | |
| "duration": "5: 30" | |
| } | |
| ] | |
| } | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment