Hello there
Our customer are intersted to view delayed information of flight when it is not departured. We are using AeroAPI(FlightXML), How can we calculate departure delay of the flight?
Hello there
Our customer are intersted to view delayed information of flight when it is not departured. We are using AeroAPI(FlightXML), How can we calculate departure delay of the flight?
These may help you. https://flightaware.com/commercial/aeroapi/faq.rvt#findstatus
If you are looking for delays for a current flight that has not taken off, then you would just compare the filed_departuretime against current time.
Hello @cbw
Our customer calculates delay like given below:
If flight has scheduled at 3:00PM and If its departure will be late than given time, Its considered as late. How can we tell them that a flight is delay based on your answer?
Above link do not reveal departure-delay information when flight is not departured. Here is API’s result of flightInfoEx:
{
"FlightInfoExResult":{
"next_offset":1,
"flights":[
{
"faFlightID":"AAL72-1621468680-schedule-0688",
"ident":"AAL72",
"aircrafttype":"B789",
"filed_ete":"13:30:00",
"filed_time":1621468680,
"filed_departuretime":1621641300,
"filed_airspeed_kts":472,
"filed_airspeed_mach":"",
"filed_altitude":0,
"route":"",
"actualdeparturetime":0,
"estimatedarrivaltime":1621690500,
"actualarrivaltime":0,
"diverted":"",
"origin":"YSSY",
"destination":"KLAX",
"originName":"Sydney",
"originCity":"Sydney, NSW",
"destinationName":"Los Angeles Intl",
"destinationCity":"Los Angeles, CA"
}
]
}
}
Our customer’s interst is to know departure-delay. If i am using wrong API, You can suggest me correct API
Thank you