Air Traffic Controller

Air Traffic Controller · GPT Actions

Get airport weather data

Retrieves current weather data for a given airport code.

  • GET /api/data/metarGetAirportWeather

    Get METAR data for a specific airport

原始 API 定义
{
  "openapi": "3.1.0",
  "info": {
    "title": "Get airport weather data",
    "description": "Retrieves current weather data for a given airport code.",
    "version": "v1.0.0"
  },
  "servers": [
    {
      "url": "https://aviationweather.gov"
    }
  ],
  "paths": {
    "/api/data/metar": {
      "get": {
        "description": "Get METAR data for a specific airport",
        "operationId": "GetAirportWeather",
        "parameters": [
          {
            "name": "ids",
            "in": "query",
            "description": "The airport code to retrieve the weather for",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "deprecated": false
      }
    }
  },
  "components": {
    "schemas": {}
  }
}