skytracker.api.v1.state.api_get_all#
- async skytracker.api.v1.state.api_get_all(storage: Storage = Depends(get_storage), south: float | None = Query(None), north: float | None = Query(None), west: float | None = Query(None), east: float | None = Query(None), limit: int = Query(0)) list[MapState]#
Get the latest batch of aircraft states
The latest batch of aircraft states represent the most up-to-date states of aircraft around the world. Returned are the unique aircraft ICAO 24-bit address, latitude, longitude, and the aircraft heading.
- Parameters:
storage (Storage, optional) – backend storage manager. Defaults to Depends(get_storage).
south (float, optional) – minimum latitude in decimal degrees. Defaults to None.
north (float, optional) – maximum latitude in decimal degrees. Defaults to None.
west (float, optional) – minimum longitude in decimal degrees. Defaults to None.
east (float, optional) – maximum longitude in decimal degrees. Defaults to None.
limit (int, optional) – maximum number of states to return (0=all). Defaults to 0 (all).
- Returns:
list of aircraft map states (icao24, latitude, longitude, heading)
- Return type:
List[MapState]