Array (PHP: $reply=json_decode( file_get_contents(URL), true)) | Type | Description | GET Parameter |
$reply["data"]["callsign"] | String | Callsign | &callsign=<String callsign> |
$reply["data"]["status"] | String | Callsign status: Not registered – The callsign is not yet registered Registered – The callsign is registered but not yet pass email verification Active – The callsign is registered and passed email verification Deactivated – This callsign is deactivated Protected – This callsign is protected from being registered Dispute – A person has filed a dispute on this callsign | N/A |
$reply["data"]["other_callsigns"][] | String | Other activated callsigns by the same pilot. Missing if no other activated callsigns, or $reply["data"]["status"] not equal to "Active". | N/A |
$reply["data"]["is_archive"] | boolean | "true" if the request is requesting archived data "false" if the request is requesting current data | &archive=true &archive=false (default) |
If $reply["data"]["status"]==”Disput”, Json reply ends here. |
$reply["data"]["no_of_flights"] | int | Number of flights in current/archive flight list | N/A |
$reply["data"]["flight_list_offset"] | int | Offset of the flight list. If offset > number of flights, offset=0 | &offset=<int offset> (default=0) |
$reply["data"]["rank"] | int | Rank (according to effective flight time) | N/A |
$reply["data"]["lastweek"] | String | Total flight time in last 7 days | N/A |
$reply["data"]["lastweek_raw"] | int | Total flight time in last 7 days in seconds | N/A |
$reply["data"]["last30days"] | String | Total flight time in last 30 days | N/A |
$reply["data"]["last30days_raw"] | int | Total flight time in last 30 days in seconds | N/A |
$reply["data"]["total_flight_time"] | String | Total flight time all time | N/A |
$reply["data"]["total_flight_time_raw"] | int | Total flight time all time in seconds | N/A |
$reply["data"]["effective_flight_time"] | String | Total effective flight time all time | N/A |
$reply["data"]["effective_flight_time_raw"] | int | Total effective flight time all time in seconds | N/A |
$reply["data"]["db_archive_date"] | Date | (YYYY-MM-DD)Database archive date (i.e. flight data before this date is archived) | N/A |
$reply["data"]["flight_time_by_type"] | Array | Summary report per aircraft for <callsign> | N/A |
$reply["data"]["flight_time_by_type"][]["model"] | String | Aircraft model in human readable format. NULL if no such information in FGTracker | N/A |
$reply["data"]["flight_time_by_type"][]["model_raw"] | String | Aircraft model in “--aircraft” format | N/A |
$reply["data"]["flight_time_by_type"][]["duration"] | String | Total flight duration of that model | N/A |
$reply["data"]["flight_time_by_type"][]["duration_raw"] | int | Total flight duration of that model in seconds | N/A |
$reply["data"]["flight_time_by_type"][]["effective_flight_time"] | String | Total effective flight time of that model | N/A |
$reply["data"]["flight_time_by_type"][]["effective_flight_time_raw"] | int | Total effective flight time of that model in seconds | N/A |
$reply["data"]["start_icaos"] | Array | Airports the pilot visits (as departure airports), order by counts | N/A |
$reply["data"]["start_icaos"][]["icao"] | String | ICAO name of the departure airport. “----” if location is not an airport | N/A |
$reply["data"]["start_icaos"][]["icao_name"] | String | Name of the departure airport. “Unknown” if location is not an airport | N/A |
$reply["data"]["start_icaos"][]["country"] | String | Country of the departure airport. NULL if location is not an airport or country cannot be identified | N/A |
$reply["data"]["start_icaos"][]["counts"] | Int | No of times visited | N/A |
$reply["data"]["end_icaos"] | Array | Airports the pilot visits (as departure airports), order by counts | N/A |
$reply["data"]["end_icaos"][]["icao"] | String | ICAO name of the arrival airport. “----” if location is not an airport | N/A |
$reply["data"]["end_icaos"][]["icao_name"] | String | Name of the arrival airport. “Unknown” if location is not an airport | N/A |
$reply["data"]["end_icaos"][]["country"] | String | Country of the arrival airport. NULL if location is not an airport or country cannot be identified | N/A |
$reply["data"]["end_icaos"][]["counts"] | Int | No of times visited | N/A |
$reply["data"]["flight_list"] | Array | Flight list in current/archive result set (100 results after offset) | N/A |
$reply["data"]["flight_list"][]["row"] | int | Row id in current/archive result set | N/A |
$reply["data"]["flight_list"][]["id"] | int | Flight id in DB | N/A |
$reply["data"]["flight_list"][]["callsign"] | String | Callsign | N/A |
$reply["data"]["flight_list"][]["model"] | String | Aircraft model in human readable format. NULL if no such information in FGTracker | N/A |
$reply["data"]["flight_list"][]["model_raw"] | String | Aircraft model in “--aircraft” format | N/A |
$reply["data"]["flight_list"][]["start_time"] | String | Flight start time | N/A |
$reply["data"]["flight_list"][]["start_time_raw"] | int | Flight start time in seconds (since Unix epoch) | N/A |
$reply["data"]["flight_list"][]["start_location"]["icao"] | String | ICAO name of the departure airport. “----” if location is not an airport. NULL if data not yet been updated | N/A |
$reply["data"]["flight_list"][]["start_location"]["icao_name"] | String | Name of the departure airport. “Unknown” if location is not an airport. NULL if data not yet been updated | N/A |
$reply["data"]["flight_list"][]["start_location"]["country"] | String | Country of the departure airport. NULL if location is not an airport or country cannot be identified | N/A |
$reply["data"]["flight_list"][]["end_time"] | String | Flight end time | N/A |
$reply["data"]["flight_list"][]["end_time_raw"] | int | Flight end time in seconds (since Unix epoch) | N/A |
$reply["data"]["flight_list"][]["end_location"]["icao"] | String | ICAO name of the arrival airport. “----” if location is not an airport. NULL if data not yet been updated | N/A |
$reply["data"]["flight_list"][]["end_location"]["icao_name"] | String | Name of the arrival airport. “Unknown” if location is not an airport. NULL if data not yet been updated | N/A |
$reply["data"]["flight_list"][]["end_location"]["country"] | String | Country of the arrival airport. NULL if location is not an airport or country cannot be identified | N/A |
$reply["data"]["flight_list"][]["duration"] | String | Flight duration | N/A |
$reply["data"]["flight_list"][]["duration_raw"] | int | Flight duration in seconds | N/A |
$reply["data"]["flight_list"][]["numwpts"] | int | Number of way points | N/A |
$reply["data"]["flight_list"][]["effective_flight_time"] | String | Effective flight time | N/A |
$reply["data"]["flight_list"][]["effective_flight_time_raw"] | int | Effective flight time in seconds | N/A |
$reply["data"]["log"] | Array | Array of logs. NULL if no data | N/A |
$reply["data"]["log"][]["operating_user"] | String | Origin (Username/IP) or the operation | N/A |
$reply["data"]["log"][]["action"] | String | Action | N/A |
$reply["data"]["log"][]["time"] | String | Time of operation | N/A |
$reply["data"]["log"][]["comments"] | String | Comments (NULL if not set) | N/A |