Weather GPT
Weather GPT · GPT 작업
Get weather data
Retrieves current weather data for a location.
GET /data/2.5/weatherGetCurrentWeatherGet temperature for a specific location
원본 API 스키마
{
"openweathermap": "2.5.0",
"info": {
"title": "Get weather data",
"description": "Retrieves current weather data for a location.",
"version": "v2.5.0"
},
"servers": [
{
"url": "https://api.openweathermap.org"
}
],
"paths": {
"/data/2.5/weather": {
"get": {
"description": "Get temperature for a specific location",
"operationId": "GetCurrentWeather",
"parameters": [
{
"name": "q",
"in": "query",
"description": "The city and state to retrieve the weather for",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "appid",
"in": "query",
"description": "The APP ID",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "units",
"in": "query",
"description": "The measurement unit is 'Metric' by default",
"required": true,
"schema": {
"type": "string"
}
}
],
"deprecated": false
}
}
}
}