Weather Forecaster

Weather Forecaster · GPT 작업

Get weather data

Retrieves current weather data for a location.

  • GET /weatherGetCurrentWeather

    Get temperature for a specific location

원본 API 스키마
{
  "openapi": "3.1.0",
  "info": {
    "title": "Get weather data",
    "description": "Retrieves current weather data for a location.",
    "version": "v1.0.0"
  },
  "servers": [
    {
      "url": "https://api.openweathermap.org/data/2.5"
    }
  ],
  "paths": {
    "/weather": {
      "get": {
        "description": "Get temperature for a specific location",
        "operationId": "GetCurrentWeather",
        "parameters": [
          {
            "name": "lat",
            "in": "query",
            "description": "Latitude",
            "required": true,
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "lon",
            "in": "query",
            "description": "Longitude",
            "required": true,
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "appid",
            "in": "query",
            "description": "App ID, always use the default value",
            "required": true,
            "schema": {
              "type": "string",
              "default": "47d1d296f12b1f0c5539dfa11610ba65"
            }
          }
        ],
        "deprecated": false
      }
    }
  },
  "components": {
    "schemas": {}
  }
}