Hi guys -
I’m hoping you can point me in the right direction. The Getting Started link on the website takes me to: flightaware.com/commercial/flightxml/ but that’s not what I was expecting.
That page provides code samples and links to both documentation and FAQ’s. The API is very clean and easy to use, but what I really need is a good “Getting Started Guide”. For example, I want to be able to monitor a simple roundtrip itinerary (ORD - ATL - ORD). What methods should I be calling? The FAQ doesn’t touch on this and the various methods in the documentation do a great job explaining the parameters required but not the proper order that they should be called.
I have been approaching this in a trial and error fashion (hoping to avoid this approach). What methods should I be using and what tips do I need to know? For example, I come from the IATA world so I have a lookup table that translates ATL to KATL. When I request a flight and enter in a flight time, does it have to be in local time, UTC, etc? How far out can I register a flight?
Here’s a more specific example: When I ask for the DAL (KTLH-KATL) schedule on 2014-02-04, I get an ident of DAL5493 with a departuretime of 1391510400 on one of the results, but when I subsequently call the GetFlightID method using these two parameters, I get an error that the flight is not found.
[ident] => DAL5493
[departureTime] => 1391510400
– Gives Me –
[faultstring] => flight not found
What is the correct way to do this?
Any guidance would be greatly appreciated!