SEARCH FOR ARRIVALS IN SPECIFIC AIRPORT FOR SPECIFIC AIRLINE


#1

I am using the below code to get details of all flights arriving into OMDB airport

flightxml.flightaware.com/json/F … howMany=20

It is showing results correctly BUT I WANT TO GET DATA OF ONLY A SPECIFIC AIRLINE - UAE*

How do I add this along with the above url.

Appreciate your reply soon

Thanks

Philip


#2

In general you should not be afraid of simply letting your application code skip over the results returned by the server that you do not care about.

However, you can use the “Search” function to find just active flights that match your criteria using a query such as “-destination OMDB -idents UAE*” Keep in mind that Search may not return data about flights that have already landed or are further in the future, since it is intended more for currently active flights.