Types
types
¤
cache
¤
flight_list_schema
module-attribute
¤
flight_list_schema = schema(
[
field("flight_id", uint64()),
field("number", string()),
field("callsign", string()),
field("icao24", uint32()),
field("registration", string()),
field("typecode", string()),
field("origin", string()),
field("destination", string()),
field("status", string()),
field("STOD", timestamp("ms", tz="UTC")),
field("ETOD", timestamp("ms", tz="UTC")),
field("ATOD", timestamp("ms", tz="UTC")),
field("STOA", timestamp("ms", tz="UTC")),
field("ETOA", timestamp("ms", tz="UTC")),
field("ATOA", timestamp("ms", tz="UTC")),
]
)
playback_track_schema
module-attribute
¤
playback_track_schema = schema(
[
field("timestamp", uint32()),
field("latitude", float32()),
field("longitude", float32()),
field("altitude", int32()),
field("ground_speed", int16()),
field("vertical_speed", int16()),
field("track", int16()),
field("squawk", uint16()),
field(
"ems",
struct(
[
field("timestamp", uint32()),
field("ias", int16()),
field("tas", int16()),
field("mach", int16()),
field("mcp", int32()),
field("fms", int32()),
field("autopilot", int8()),
field("oat", int8()),
field("track", float32()),
field("roll", float32()),
field("qnh", uint16()),
field("wind_dir", int16()),
field("wind_speed", int16()),
field("precision", uint8()),
field("altitude_gps", int32()),
field("emergency", uint8()),
field("tcas_acas", uint8()),
field("heading", uint16()),
]
),
),
]
)
livefeed_schema
module-attribute
¤
livefeed_schema = schema(
[
field("timestamp", uint32()),
field("flightid", uint32()),
field("latitude", float32()),
field("longitude", float32()),
field("track", uint16()),
field("altitude", int32()),
field("ground_speed", int16()),
field("on_ground", bool_()),
field("callsign", string()),
field("source", uint8()),
field("registration", string()),
field("origin", string()),
field("destination", string()),
field("typecode", string()),
field("eta", uint32()),
field("vertical_speed", int16()),
field("squawk", uint16()),
]
)
find
¤
fr24
¤
Plugin
module-attribute
¤
Plugin = Literal[
"details",
"runways",
"schedule",
"satelliteImage",
"scheduledRoutesStatistics",
"weather",
]
AirportRequest
module-attribute
¤
AirportRequest = TypedDict(
"AirportRequest",
{
"callback": None,
"code": str,
"device": Optional[str],
"fleet": Optional[str],
"format": Literal["json"],
"limit": int,
"page": int,
"pk": None,
"plugin": list[Plugin],
"plugin[]": list[Plugin],
"plugin-setting": PluginSetting,
"plugin-setting[schedule][mode]": str,
"plugin-setting[schedule][timestamp]": int,
"token": Optional[str],
},
total=False,
)
LivefeedField
module-attribute
¤
LivefeedField = Literal[
"flight",
"reg",
"route",
"type",
"squawk",
"vspeed",
"airspace",
"logo_id",
"age",
]
User
¤
UsernamePassword
¤
TokenSubscriptionKey
¤
APIResult
¤
FlightNumber
¤
FlightIdentification
¤
GenericStatus
¤
GenericEventTime
¤
StatusData
¤
AircraftModel
¤
AircraftAge
¤
AircraftAvailability
¤
AircraftIdentification
¤
IATA_ICAO
¤
OwnerData
¤
AirlineData
¤
AirportCode
¤
Country
¤
AirportPosition
¤
Timezone
¤
AirportPairData
¤
Median
¤
Altitude
¤
Speed
¤
TrackData
¤
Bases: TypedDict
heading
instance-attribute
¤
heading: int
Warning
The JSON response claims that heading
is available, but ADS-B only
transmits the ground track.
Heading
is only available in EMS data.
This field is renamed to track
to avoid confusion in
fr24.history.playback_track_dict.