All times are UTC - 6 hours [ DST ]




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Flight info by tail number not updated
PostPosted: Wed Feb 15, 2017 11:37 am 
Offline
JussiMalinen - FlightAware user avatar

Joined: Wed Feb 15, 2017 11:31 am
Posts: 3
Requesting information for tail number shows old data. We have not had this issue before. And the API does work for other tail numbers.

OH-LTN is flying on Route AY1890 from VRA to HEL. This was shown correctly on Flight Aware's web interface.

This is not reflected on the API though.

http://flightxml.flightaware.com/json/F ... &howMany=1

This request returns the following data

{
"FlightInfoExResult": {
"next_offset": 1,
"flights": [
{
"faFlightID": "FIN95-1486967156-airline-0017:0",
"ident": "FIN95",
"aircrafttype": "A333",
"filed_ete": "09:28:00",
"filed_time": 1487144589,
"filed_departuretime": 1487176500,
"filed_airspeed_kts": 459,
"filed_airspeed_mach": "",
"filed_altitude": 0,
"route": "",
"actualdeparturetime": 0,
"estimatedarrivaltime": 1487213625,
"actualarrivaltime": 0,
"diverted": "",
"origin": "EFHK",
"destination": "VTBS",
"originName": "Helsinki-Vantaa",
"originCity": "Vantaa",
"destinationName": "Suvarnabhumi Bangkok Int'l",
"destinationCity": "Bangkok"
}
]
}
}


Top
 Profile  
 
 Post subject: Re: Flight info by tail number not updated
PostPosted: Wed Feb 15, 2017 11:45 am 
Offline
JussiMalinen - FlightAware user avatar

Joined: Wed Feb 15, 2017 11:31 am
Posts: 3
Actually, my bad. The api seems to return upcoming flight as first for this tail. Parsing more than one flight shows the current one.


Top
 Profile  
 
 Post subject: Re: Flight info by tail number not updated
PostPosted: Wed Feb 15, 2017 6:07 pm 
Offline
FlightAware Staff
bovineone - FlightAware user avatar

Joined: Wed Jul 27, 2005 3:00 am
Posts: 1441
Location: FlightAware WHQ
We do not recommend using howMany=1 for this reason. You should generally request at least 15 (since there is no price difference until you request more than 15), and then allow your application to process the results to find which flight it is actually interested in.


Top
 Profile  
 
 Post subject: Re: Flight info by tail number not updated
PostPosted: Thu Feb 16, 2017 4:35 am 
Offline
JussiMalinen - FlightAware user avatar

Joined: Wed Feb 15, 2017 11:31 am
Posts: 3
That works, cheers!


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC - 6 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to: