PHP response Lack of data

HELLO
I have some problems with the repsonse from the API
i not find the informations that i really want…

I use the python and the PHP.
each of them give different response on the same ENROUTE.

I wirte my codes on PHP, and in the response, I only have response Like.
ident, originCIty,etc…

But i will need some informations like airline, flightnumber.

I see the python response is more complete than the PHP response.

Thank…

The responses are the same, however in the examples we may not have included the same set of fields. I’d need to know what calls you are making to comment on the information you’re wanting though.

$queryParams = array(

'airport' => 'MTPP',

'howMany' => 15

);

$url = $fxmlUrl . ‘Scheduled?’ . http_build_query($queryParams);

$ch = curl_init($url);

curl_setopt($ch, CURLOPT_USERPWD, $username . ‘:’ . $apiKey);

curl_setopt($ch, CURLOPT_RETURNTRANSFER, TRUE);

The python Code

session = Session()

session.auth = HTTPBasicAuth(username, apiKey)

client = Client(wsdlFile, transport=Transport(session=session))

boards = client.service.AirportBoards(‘MTPP’,0,‘’,‘enroute’,3,0)

flights = boards[‘enroute’][‘flights’]

for flight in flights:

print ((flight))

Ah so here your python code is using FlightXML3 while your PHP code is accessing FlightXML2. There is more information exposed in FlightXML3, so if you wanted your PHP version to show the same information then you’d need to connect the PHP app to the FlightXML3 URL (and use your FlightXML3 username and api_key to authenticate).