I am considering signing up for the data API access. I am a flight simmer and would like to fly the routes of real aircrafts. At times though I want to fly a particular model over a particular distance (or time). For example, fly a 777 over 3000 nm.
My intention is to create a search that would show the results of a particular class of aircraft. Those results may be the planned distance and the tail number. I would then sort it however I wish such as longest to shortest distance. I would find the flight I want to simulate and then could come back to FlightAware’s web page and get the route that that particular aircraft flew.
I have looked over the pricing classes and the programming examples and it seems that I should be able to find what I need with the “class 2” “19. Search.” Do you agree? Is what I proposed feasible with the data provided via the API?
Thank you very much.
Rod
EDIT: Since my original post I believe what I would like to do is feasible. Something like this may do it:
SearchBirdseyeInFlight
w/ -type B77* AND -distance >3000 AND -distance <3500 (for example – will work out the programming syntax)
Retrieve the tail number or hopefully a unique flight number. Display that information in a list.
At that point I could use the web to search the tail number to find the specific flight and record the route. Better would be to make another query that pulls the information I desire.
Thank you! I applied a credit card to my account a few hours ago (before your reply) and am now just waiting for it to be “approved” so that I may request my API access credentials.
So far so good! I have my search returning results. One point of clarification please. Does the “range distance x y” parameter indicate the distance between the current waypoint (x) and the next filed waypoint (y)? This query is to the SearchBirdseyeInFlight module.
If it does it clarifies why I am having flights returned that have an entire route range (origin to destination) greater then what I was asking for. I believe I will be able to work through that problem but I just need to know first what the distance parameter is using as the source and destination.
Thanks.
UPDATE 1: I have since added “true arrived” to my search. Now the distance calculation seems to be reporting back the entire route. Still researching but this would be sufficient.
UPDATE 2: I still wish clarification on the “distance” query. What is it comparing? In the meantime I have experimented more and believe the distance is calculating the entire route. The state of the flight is irrelevent. It does not seem to matter if it is scheduled, enroute or has arrived. I believe my initial error was when I took the tail number and look at the FlightAware via the web for that tail number. The result by default shown was for the current flight and not necessarily the one that my search had returned. I have since written another program to query the unique flight identifier and it does appear that the results from the specific flight does seem to fall between my search distance. I am joyed at how well this is working out. My last step will be to roll this all together wherein my program asks me which aircraft type I am interested in, and the distance range. It will then result a list sorted by distances and includes the route filed.