As the title says the origin attribute returns null;
object(stdClass)#2 (24) {
"faFlightID"]=>
string(22) "VIR49-1248959154-419-0"
"ident"]=>
string(5) "VIR49"
"prefix"]=>
string(1) "H"
"type"]=>
string(4) "B744"
"suffix"]=>
string(1) "Q"
"origin"]=>
NULL
"destination"]=>
string(4) "KMCO"
"timeout"]=>
string(2) "ok"
"timestamp"]=>
int(1249049263)
"departureTime"]=>
int(1249047856)
"firstPositionTime"]=>
int(1249047856)
"arrivalTime"]=>
int(0)
"longitude"]=>
float(-4.41278982162)
"latitude"]=>
float(50.4775009155)
"lowLongitude"]=>
float(-4.4306101799)
"lowLatitude"]=>
float(50.4760017395)
"highLongitude"]=>
float(-0.33641898632)
"highLatitude"]=>
float(51.1278991699)
"groundspeed"]=>
int(404)
"altitude"]=>
int(340)
"heading"]=>
int(262)
"altitudeStatus"]=>
string(1) " "
"updateType"]=>
string(2) "TZ"
"altitudeChange"]=>
NULL
}
Also how can I get the route of the flight?
Many Thanks
Craig