Is there a straightforward way to obtain only the flight information for a specific flight number departing from a specific origin but on a specific day (specifically today)?
Just use FlightInfoEx with a large enough howMany value, and your application code can look through the results for the specific flight it wants. (Note that howMany values of up to 14 have the same cost as 1, so there’s no financial benefit for requesting fewer.)
Thank you and understood. The question then boils down to which of the specific flights pertains to today, after translating date/time to local, keeping in mind that the flight may have already departed. Is it just “filed_departuretime”?
filed_departuretime is the time when the flight is originally supposed to depart from the origin airport, which I think is indeed what you’re asking. To determine when it was originally supposed to arrived, compute the result of (filed_departuretime+filed_ete).
If you want to determine if the flight has actually departed, check if (actualdeparturetime > 0)