Weather

Weather. I mean, how much is there to say?

async flightplandb.weather.fetch(icao: str, key: str | None = None) Weather

Fetches current weather conditions at an airport

Parameters:
  • icao (str) -- ICAO code of the airport for which the weather will be fetched

  • key (str, optional) -- API authentication key.

Returns:

METAR and TAF for an airport

Return type:

Weather

Raises:

NotFoundException -- No airport with the specified ICAO code was found.