Closed Kahn closed 2 years ago
This should do what you're after @samie11
{ "cid": 1406204, "name": "Zac Davey YBCS", "callsign": "QFA554", "server": "SINGAPORE", "pilot_rating": 0, "latitude": -34.70146, "longitude": 149.47841, "altitude": 23053, "groundspeed": 470, "transponder": "4225", "heading": 63, "qnh_i_hg": 30.18, "qnh_mb": 1022, "flight_plan": { "flight_rules": "I", "aircraft": "A320/M-V/N", "aircraft_faa": "A320/V", "aircraft_short": "A320", "departure": "YMML", "arrival": "YSSY", "alternate": "YSTW", "cruise_tas": "290", "altitude": "370", "deptime": "1254", "enroute_time": "0110", "fuel_time": "0000", "remarks": "DOF/220416 /V/", "route": "YMML/34 3732S14451E DOSEL Y59 RIVET", "revision_id": 15, "assigned_transponder": "4225" }, "logon_time": "2022-04-16T10:27:35.2229325Z", "last_updated": "2022-04-16T13:24:05.3529199Z", "aerodrome": false, "tag_alt": "F231", "tag_gs": "47" }
[ { "cid": 1416730, "name": "Sam YSSY", "callsign": "WAT499", "server": "USA-WEST", "pilot_rating": 0, "latitude": -37.05164, "longitude": 147.33911, "altitude": 4265, "groundspeed": 0, "transponder": "3723", "heading": 249, "qnh_i_hg": 26.52, "qnh_mb": 898, "flight_plan": { "flight_rules": "I", "aircraft": "DH8D/L-", "aircraft_faa": "", "aircraft_short": "DH8D", "departure": "YHOT", "arrival": "YSSY", "alternate": "YSCB", "cruise_tas": "300", "altitude": "35000", "deptime": "1234", "enroute_time": "0010", "fuel_time": "1234", "remarks": "DOF/220416 /V/", "route": "DCT", "revision_id": 0, "assigned_transponder": "0000" }, "logon_time": "2022-04-16T12:24:02.6137787Z", "last_updated": "2022-04-16T13:22:34.2096765Z", "aerodrome": false, "tag_alt": "A043", "tag_gs": "0" } ]
[ { "cid": 1513279, "name": "David Cherrie YSSY", "callsign": "QFA28", "server": "SINGAPORE", "pilot_rating": 0, "latitude": -26.01416, "longitude": 144.80399, "altitude": 35187, "groundspeed": 496, "transponder": "7000", "heading": 153, "qnh_i_hg": 30.09, "qnh_mb": 1019, "flight_plan": { "flight_rules": "I", "aircraft": "B748/H-VGDW/C", "aircraft_faa": "H/B748/L", "aircraft_short": "B748", "departure": "VHHX", "arrival": "YSSY", "alternate": "YSTW", "cruise_tas": "506", "altitude": "33000", "deptime": "0445", "enroute_time": "0822", "fuel_time": "0959", "remarks": "PBN/A1B1D1O1S2 DOF/220416 REG/VHOEI EET/RPHI0034 WAAF0233 YBBB0417 YMMM0813 SEL/DRCS CODE/7C4779 OPR/QFA PER/D RMK/TCAS SIMBRIEF /V/", "route": "SABNO1A/13 SABNO A583 MARAN/N0502F350 A583 ZAM A461 AMN R340 IGOPO/N0495F370 R340 AGETA UH201 SCO H12 BOREE", "revision_id": 4, "assigned_transponder": "5301" }, "logon_time": "2022-04-16T05:08:54.873876Z", "last_updated": "2022-04-16T13:22:34.1054345Z", "aerodrome": false, "tag_alt": "F352", "tag_gs": "50" }, { "cid": 1620669, "name": "Ammar Islam EHAM", "callsign": "PIA455", "server": "AMSTERDAM", "pilot_rating": 0, "latitude": -27.62535, "longitude": 139.19534, "altitude": 36991, "groundspeed": 529, "transponder": "1200", "heading": 134, "qnh_i_hg": 29.9, "qnh_mb": 1013, "flight_plan": { "flight_rules": "I", "aircraft": "A20N/M-VGDW/C", "aircraft_faa": "A20N/L", "aircraft_short": "A20N", "departure": "WADD", "arrival": "YSSY", "alternate": "YSCB", "cruise_tas": "462", "altitude": "37000", "deptime": "0135", "enroute_time": "0540", "fuel_time": "0700", "remarks": "PBN/A1B1C1D1O1S2 DOF/220416 REG/N251SB EET/YBBB0042 YMMM0240 OPR/PIA PER/C RALT/YPTN YBAS RMK/TCAS SIMBRIEF /V/", "route": "GAGAK3A GAGAK DCT ATMAP A576 PKS H319 TARAL Y59 RIVET", "revision_id": 0, "assigned_transponder": "0000" }, "logon_time": "2022-04-16T10:20:29.5993238Z", "last_updated": "2022-04-16T13:22:33.8338136Z", "aerodrome": false, "tag_alt": "F370", "tag_gs": "53" }, { "cid": 1406204, "name": "Zac Davey YBCS", "callsign": "QFA554", "server": "SINGAPORE", "pilot_rating": 0, "latitude": -34.81191, "longitude": 149.27783, "altitude": 24227, "groundspeed": 482, "transponder": "4225", "heading": 53, "qnh_i_hg": 30.18, "qnh_mb": 1022, "flight_plan": { "flight_rules": "I", "aircraft": "A320/M-V/N", "aircraft_faa": "A320/V", "aircraft_short": "A320", "departure": "YMML", "arrival": "YSSY", "alternate": "YSTW", "cruise_tas": "290", "altitude": "370", "deptime": "1254", "enroute_time": "0110", "fuel_time": "0000", "remarks": "DOF/220416 /V/", "route": "YMML/34 3732S14451E DOSEL Y59 RIVET", "revision_id": 15, "assigned_transponder": "4225" }, "logon_time": "2022-04-16T10:27:35.2229325Z", "last_updated": "2022-04-16T13:22:35.3499462Z", "aerodrome": false, "tag_alt": "F242", "tag_gs": "48" }, { "cid": 1416730, "name": "Sam YSSY", "callsign": "WAT499", "server": "USA-WEST", "pilot_rating": 0, "latitude": -37.05164, "longitude": 147.33911, "altitude": 4265, "groundspeed": 0, "transponder": "3723", "heading": 249, "qnh_i_hg": 26.52, "qnh_mb": 898, "flight_plan": { "flight_rules": "I", "aircraft": "DH8D/L-", "aircraft_faa": "", "aircraft_short": "DH8D", "departure": "YHOT", "arrival": "YSSY", "alternate": "YSCB", "cruise_tas": "300", "altitude": "35000", "deptime": "1234", "enroute_time": "0010", "fuel_time": "1234", "remarks": "DOF/220416 /V/", "route": "DCT", "revision_id": 0, "assigned_transponder": "0000" }, "logon_time": "2022-04-16T12:24:02.6137787Z", "last_updated": "2022-04-16T13:22:34.2096765Z", "aerodrome": false, "tag_alt": "A043", "tag_gs": "0" }, { "cid": 1382067, "name": "Matt Clemow YPAD", "callsign": "QFA734", "server": "SINGAPORE", "pilot_rating": 0, "latitude": -35.06677, "longitude": 138.42227, "altitude": 5181, "groundspeed": 278, "transponder": "4532", "heading": 155, "qnh_i_hg": 29.92, "qnh_mb": 1013, "flight_plan": { "flight_rules": "I", "aircraft": "B738/M-SDE2E3FGHIRWXY/LB1", "aircraft_faa": "B738/L", "aircraft_short": "B738", "departure": "YPAD", "arrival": "YSSY", "alternate": "YSTW", "cruise_tas": "466", "altitude": "31000", "deptime": "1200", "enroute_time": "0142", "fuel_time": "0313", "remarks": "PBN/A1B1C1D1S1S2 DOF/220416 REG/N806SB OPR/QFA PER/C RMK/TCAS SIMBRIEF /V/", "route": "PANKI H247 CULIN Y59 RIVET", "revision_id": 3, "assigned_transponder": "0000" }, "logon_time": "2022-04-16T12:52:45.8439054Z", "last_updated": "2022-04-16T13:22:34.4318606Z", "aerodrome": false, "tag_alt": "A052", "tag_gs": "28" } ]
This should do what you're after @samie11
http://localhost:8080/v1/flights/callsign/QFA554
http://localhost:8080/v1/flights/departures/YHOT
http://localhost:8080/v1/flights/arrivals/YSSY