Skip to content

Instantly share code, notes, and snippets.

@kenvunz
Created October 17, 2017 21:46
Show Gist options
  • Save kenvunz/c3def7046917fbe121aff9907022b67e to your computer and use it in GitHub Desktop.
Save kenvunz/c3def7046917fbe121aff9907022b67e to your computer and use it in GitHub Desktop.
{
"appendix": {
"airlines": [
{
"active": true,
"fs": "NZ",
"iata": "NZ",
"icao": "ANZ",
"name": "Air New Zealand",
"phoneNumber": "1-800-262-1234"
},
{
"active": true,
"fs": "UA",
"iata": "UA",
"icao": "UAL",
"name": "United Airlines",
"phoneNumber": "1-800-864-8331"
},
{
"active": true,
"fs": "TG",
"iata": "TG",
"icao": "THA",
"name": "Thai Airways International",
"phoneNumber": "800-426-5204"
},
{
"active": true,
"fs": "CX",
"iata": "CX",
"icao": "CPA",
"name": "Cathay Pacific",
"phoneNumber": "1-800-233-2742"
},
{
"active": true,
"fs": "TK",
"iata": "TK",
"icao": "THY",
"name": "Turkish Airlines",
"phoneNumber": "+90 212 444 0 849"
},
{
"active": true,
"fs": "LH",
"iata": "LH",
"icao": "DLH",
"name": "Lufthansa",
"phoneNumber": "800 645-3880"
}
],
"airports": [
{
"active": true,
"city": "Auckland",
"cityCode": "AKL",
"classification": 2,
"countryCode": "NZ",
"countryName": "New Zealand",
"elevationFeet": 23,
"fs": "AKL",
"iata": "AKL",
"icao": "NZAA",
"latitude": -37.004786,
"localTime": "2017-10-17T13:59:39.033",
"longitude": 174.783524,
"name": "Auckland Airport",
"regionName": "Oceania",
"timeZoneRegionName": "Pacific/Auckland",
"utcOffsetHours": 13.0
},
{
"active": true,
"city": "Hong Kong",
"cityCode": "HKG",
"classification": 1,
"countryCode": "HK",
"countryName": "Hong Kong",
"elevationFeet": 19,
"fs": "HKG",
"iata": "HKG",
"icao": "VHHH",
"latitude": 22.315248,
"localTime": "2017-10-17T08:59:39.033",
"longitude": 113.93649,
"name": "Hong Kong International Airport",
"regionName": "Asia",
"street1": "1 Cheong Hong Rd",
"street2": "Chek Lap Kok Airport",
"timeZoneRegionName": "Asia/Hong_Kong",
"utcOffsetHours": 8.0
}
],
"equipments": [
{
"iata": "772",
"jet": true,
"name": "Boeing 777-200 / 200ER",
"regional": false,
"turboProp": false,
"widebody": true
}
]
},
"request": {
"carrier": {
"fsCode": "NZ",
"requestedCode": "NZ"
},
"codeType": {},
"date": {
"day": "24",
"interpreted": "2017-10-24",
"month": "10",
"year": "2017"
},
"departing": true,
"flightNumber": {
"interpreted": "87",
"requested": "87"
},
"url": "https://api.flightstats.com/flex/schedules/rest/v1/json/flight/NZ/87/departing/2017/10/24"
},
"scheduledFlights": [
{
"arrivalAirportFsCode": "HKG",
"arrivalTerminal": "1",
"arrivalTime": "2017-10-25T06:30:00.000",
"carrierFsCode": "NZ",
"codeshares": [
{
"carrierFsCode": "CX",
"flightNumber": "7402",
"referenceCode": 58986,
"serviceClasses": [
"R",
"J",
"Y"
],
"serviceType": "J",
"trafficRestrictions": []
},
{
"carrierFsCode": "TG",
"flightNumber": "4862",
"referenceCode": 59034,
"serviceClasses": [
"J",
"Y"
],
"serviceType": "J",
"trafficRestrictions": [
"Y"
]
},
{
"carrierFsCode": "TK",
"flightNumber": "8721",
"referenceCode": 59039,
"serviceClasses": [
"F",
"J",
"Y"
],
"serviceType": "J",
"trafficRestrictions": [
"G"
]
},
{
"carrierFsCode": "UA",
"flightNumber": "6807",
"referenceCode": 59045,
"serviceClasses": [
"J",
"Y"
],
"serviceType": "J",
"trafficRestrictions": [
"Q"
]
},
{
"carrierFsCode": "LH",
"flightNumber": "7159",
"referenceCode": 59108,
"serviceClasses": [
"J",
"Y"
],
"serviceType": "J",
"trafficRestrictions": [
"G"
]
}
],
"departureAirportFsCode": "AKL",
"departureTerminal": "I",
"departureTime": "2017-10-24T23:59:00.000",
"flightEquipmentIataCode": "772",
"flightNumber": "87",
"isCodeshare": false,
"isWetlease": false,
"referenceCode": "279-58980--",
"serviceClasses": [
"F",
"J",
"Y"
],
"serviceType": "J",
"stops": 0,
"trafficRestrictions": []
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment