Types
types
¤
airport_list
¤
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,
)
Schedule
¤
AirportSchedule
¤
Bases: TypedDict
AirportPluginData
¤
Bases: TypedDict
AirportListData
¤
Bases: TypedDict
AirportResponse
¤
Bases: TypedDict
AirportResult
¤
Bases: TypedDict
AirportList
¤
Bases: TypedDict
authentication
¤
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()),
]
),
),
]
)
live_feed_schema
module-attribute
¤
live_feed_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()),
]
)
FlightListRecord
¤
Bases: TypedDict
PlaybackTrackRecord
¤
Bases: TypedDict
PlaybackTrackEMSRecord
¤
Bases: TypedDict
LiveFeedRecord
¤
Bases: TypedDict
common
¤
find
¤
Entry
module-attribute
¤
Entry = Union[
AirportEntry,
OperatorEntry,
LiveEntry,
ScheduleEntry,
AircraftEntry,
]
Live
¤
Bases: TypedDict
Airport
¤
Operator
¤
Schedule
¤
Bases: TypedDict
Aircraft
¤
EntryBase
¤
OperatorEntry
¤
LiveEntry
¤
ScheduleEntry
¤
AircraftEntry
¤
StatsEntry
¤
Stats
¤
Bases: TypedDict
FindResult
¤
flight_list
¤
fr24
¤
LiveFeedFieldAuthenticated
module-attribute
¤
LiveFeedFieldAuthenticated = Literal[
"squawk", "vspeed", "airspace", "logo_id", "age"
]
LiveFeedField
module-attribute
¤
LiveFeedField = Literal[
"flight",
"reg",
"route",
"type",
LiveFeedFieldAuthenticated,
]
playback
¤
PlaybackRequest
¤
Bases: TypedDict
FlightIdentification
¤
AircraftIdentification
¤
Bases: TypedDict
AircraftData
¤
Bases: TypedDict
Median
¤
Altitude
¤
Speed
¤
VerticalSpeed
¤
EMS
¤
Bases: TypedDict
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.json.playback_track_dict.
Thumbnail
¤
FlightData
¤
Bases: TypedDict
PlaybackData
¤
Bases: TypedDict
PlaybackResponse
¤
PlaybackResult
¤
Bases: TypedDict
Playback
¤
Bases: TypedDict