Skip to content

Instantly share code, notes, and snippets.

@Xevion
Created November 2, 2023 20:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Xevion/dd1419d6e99f89d0bff0963e4533386f to your computer and use it in GitHub Desktop.
Save Xevion/dd1419d6e99f89d0bff0963e4533386f to your computer and use it in GitHub Desktop.
{
"Response": {
"status": 200,
"flightInfo": {
"logo": null,
"airlineName": null,
"airlineCode": "ASA",
"airlineCodeIata": null,
"tailNumber": "N976AK",
"flightNumberInfo": "ASA541",
"flightNumberAlpha": null,
"flightNumberNumeric": null,
"departureAirportCode": "KAUS",
"destinationAirportCode": "KPDX",
"departureAirportCodeIata": "AUS",
"destinationAirportCodeIata": "PDX",
"departureAirportLatitude": 30.29,
"destinationAirportLatitude": 45.58,
"departureAirportLongitude": -97.7,
"destinationAirportLongitude": -122.59,
"origin": null,
"destination": null,
"departureCity": null,
"destinationCity": null,
"expectedArrival": "2023-10-27T15:55:00.00Z",
"departureTime": "2023-10-27T12:08:00.00Z",
"abpVersion": "9.1.0",
"acpuVersion": "3.1.7",
"videoService": false,
"latitude": 38.917,
"longitude": -108.461,
"altitude": 29680.775,
"localTime": null,
"utcTime": "2023-10-27T13:58:30.912Z",
"destinationTimeZoneOffset": -7.0,
"hspeed": 469.1898,
"vspeed": 0.20454545
},
"gogoFacts": "The Wright brothers' first flight (120 feet) could have taken place within the economy section of a Boeing 747-400.",
"serviceInfo": {
"service": "Active",
"remaining": 61250,
"quality": "Good",
"productCode": "TMO_FLT",
"alerts": []
},
"flightInfoFIG2": {
"flight": {
"id": 59614168,
"key_time": "2023-10-27T12:10:00Z",
"flight_state": "IN_AIR",
"flight_number": "541",
"flight_identifier": "ASA541",
"oooi": {
"out": "2023-10-27T11:50:00Z",
"off": "2023-10-27T12:08:00Z",
"attributes": {}
},
"gps": {
"time": "2023-10-27T13:57:08Z",
"latitude": 38.81163,
"longitude": -108.32472,
"speed": 407,
"flight_level": 360,
"calculations": {
"bearing_from_departure": 317.3840470322127,
"distance_from_departure": 737.6283619010185,
"bearing_to_arrival": 307.324821820824,
"distance_to_arrival": 752.3144704986004,
"direct_course_distance": 1488.976343463007,
"attributes": {}
},
"attributes": {},
"estimated": {
"time": "2023-10-27T13:57:23.495Z",
"latitude": 38.83115023878752,
"longitude": -108.35255461694616,
"speed": 407,
"calculations": {
"bearing_from_departure": 317.3856714071005,
"distance_from_departure": 739.3799786407916,
"bearing_to_arrival": 307.29664665214693,
"distance_to_arrival": 750.5685708470928,
"direct_course_distance": 1488.976343463007,
"attributes": {}
},
"attributes": {}
},
"course": 312
},
"time_above_service_level": {
"first_known": "2023-10-27T12:08:17Z",
"last_known": "2023-10-27T13:57:08Z",
"attributes": {}
},
"attributes": {}
},
"aircraft": {
"id": 8338,
"registration_number": "N976AK",
"airline_icao": { "attributes": {}, "owner": "ASA", "partner": "ASA" },
"fleet_number": "976",
"aircraft_type": "B737-9MAX",
"seat_count": 186,
"airlines": [
{
"id": 2487,
"name": "Alaska Airlines",
"icao": "ASA",
"iata": "AS",
"currency": "USD",
"locale": "en-US",
"call_sign": "ALASKA",
"incorporated_country": "US",
"incorporated_country_name": "United States",
"attributes": {}
}
],
"connections": [
{
"id": 13011,
"aircraft_id": 8338,
"connectivity_type": "2KU",
"connectivity_type_last_changed": "2022-06-13T15:22:28.277Z",
"attributes": {},
"connectivity_installed_by_oem": false
}
],
"attributes": {
"firehose_sync": "true",
"product": "flight_track",
"video_capability": "W_IFE",
"connectivity_identifier": "N976AK",
"firehose_sync_lock": "false",
"serial_number": "64967",
"gogo_business": "EXTERNAL",
"source": "NAV",
"official_registration": "N976AK",
"transaction_routing_id": "L1",
"manufacturer": "BOE",
"connectivity_provider": "INST",
"mode_s_code": "AD99F9",
"source_id": "{REDACTED}",
"class": "MEDIUM_JET",
"make": "737-9MAX",
"status": "Active"
}
},
"departure": {
"airport": {
"id": 18655,
"icao": "KAUS",
"iata": "AUS",
"name": "Austin Bergstrom Intl",
"mailing_address": {
"municipality": "Austin",
"administrative_area": "TX",
"administrative_area_name": "Texas",
"country": "US",
"country_name": "United States",
"postal_code": "78719",
"attributes": {}
},
"location": {
"latitude": 30.19452777777778,
"longitude": -97.66988888888889,
"elevation": 155,
"attributes": {}
},
"time_zone_offset": -5,
"attributes": {
"product_region": "DOM",
"marketing_municipality": "Austin",
"billing_municipality": "Austin",
"icao_update_time": "1525277508756"
}
},
"time": {
"actual": "2023-10-27T12:08:00Z",
"estimated": "2023-10-27T12:00:00Z",
"computed": "2023-10-27T12:08:00Z",
"attributes": {},
"scheduled": "2023-10-27T12:00:00Z"
},
"attributes": {},
"gate": "3"
},
"arrival": {
"airport": {
"id": 18700,
"icao": "KPDX",
"iata": "PDX",
"name": "Portland Intl",
"mailing_address": {
"municipality": "Portland",
"administrative_area": "OR",
"administrative_area_name": "Oregon",
"country": "US",
"country_name": "United States",
"postal_code": "97218",
"attributes": {}
},
"location": {
"latitude": 45.58870833333334,
"longitude": -122.59686666666666,
"elevation": 15,
"attributes": {}
},
"time_zone_offset": -7,
"attributes": {
"product_region": "DOM",
"marketing_municipality": "Portland",
"billing_municipality": "Portland",
"icao_update_time": "1525278473712"
}
},
"time": {
"estimated": "2023-10-27T15:57:00Z",
"computed": "2023-10-27T15:57:00Z",
"attributes": {},
"scheduled": "2023-10-27T16:22:00Z"
},
"attributes": {},
"gate": "C14"
},
"statusCode": 200,
"statusMessage": "OK"
},
"ipAddress": "{REDACTED}",
"macAddress": "{REDACTED}",
"systemInfo": {
"wapType": "ACWAP",
"systemType": "2KU",
"arincEnabled": "true",
"horizontalVelocity": "469.1898",
"verticalVelocity": "0.20454545",
"aboveGndLevel": "29680.775",
"aboveSeaLevel": "36007.25",
"flightPhase": "EN_ROUTE",
"flightNo": "ASA541",
"timeToLand": "119",
"paxSsidStatus": "",
"casSsidStatus": "UP",
"countryCode": "US",
"airportCode": "0",
"linkState": "UP",
"linkType": "2KU",
"tunnelState": "UP",
"tunnelType": "VTP",
"ifcPaxServiceState": "UP",
"ifcCasServiceState": "UP",
"currentLinkStatusCode": "3001",
"currentLinkStatusDescription": "NORMAL_OPERATION",
"noSubscribedUsers": "71",
"aircraftType": "B39M"
},
"device_iid": "{REDACTED}"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment