We are currently evaluating the XML2 API and have to do quite a bit of hefty processing to filter out unwanted codeshare flights from the results.
Our use case is to get all nonstop, direct flights for a city pair on a given date. However, we do not want to show codeshare flights as they are duplicates of the same aircraft, just a different marketing code.
I notice that XML3 Beta has a flag to exclude codeshare flights. That would be useful, but we have several questions that we are unable to answer without signing up for a Silver or greater plan…
If I exclude codeshare flights, will it remove connection carrier flights as well. Specifically we would need to retain Delta connection flights operated by Endeavor, but remove Air France flights that have a DL code on them (basically a redundant flight with a different code/flight #). The Endeavor flights are not duplicates and therefore we need to keep them. Is there a way to achieve this via the query?
If we do exclude codeshares in our query string, how is the API call count incremented? Is it based on the results actually returned, or the full data set prior to FlightAware filtering? I assume the former, but would like to be sure.
Is there any way to get dev/sandbox access to XML3 full features to evaluate prior to signing up? We can’t evaluate the codeshare feature from the free XML account, hence this post.