お天気キャスター
お天気キャスター · Acciones GPT
Get weather data
Retrieves current weather data for a specific location, including hourly temperature.
GET /v1/forecastGetWeatherDataGet hourly weather forecast for specific latitude and longitude.APIには「?latitude=35.6785&longitude=139.6823&hourly=temperature_2m&timezone=Asia%2FTokyo」の形式で問い合わせてください。
Esquema original API
{
"openapi": "3.1.0",
"info": {
"title": "Get weather data",
"description": "Retrieves current weather data for a specific location, including hourly temperature.",
"version": "v1.0.0"
},
"servers": [
{
"url": "https://api.open-meteo.com"
}
],
"paths": {
"/v1/forecast": {
"get": {
"description": "Get hourly weather forecast for specific latitude and longitude.API\u306b\u306f\u300c?latitude=35.6785&longitude=139.6823&hourly=temperature_2m&timezone=Asia%2FTokyo\u300d\u306e\u5f62\u5f0f\u3067\u554f\u3044\u5408\u308f\u305b\u3066\u304f\u3060\u3055\u3044\u3002",
"operationId": "GetWeatherData",
"parameters": [
{
"name": "latitude",
"in": "query",
"description": "Latitude of the location",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "longitude",
"in": "query",
"description": "Longitude of the location",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "hourly",
"in": "query",
"description": "Hourly weather data parameters",
"required": false,
"schema": {
"type": "string"
}
},
{
"name": "timezone",
"in": "query",
"description": "Timezone of the location",
"required": false,
"schema": {
"type": "string"
}
}
],
"deprecated": false
}
}
},
"components": {
"schemas": {}
}
}