Fishing Guide
Fishing Guide · GPT アクション
Get weather data
Retrieves current weather data for a location.
GET /premium/v1/weather.ashxGetCurrentWeatherGet 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.worldweatheronline.com"
}
],
"paths": {
"/premium/v1/weather.ashx": {
"get": {
"description": "Get temperature for a specific location",
"operationId": "GetCurrentWeather",
"parameters": [
{
"name": "key",
"in": "query",
"description": "2db34c24a5bb440c89104343230811",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "q",
"in": "query",
"description": "34.01,-118.5",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "num_of_days",
"in": "query",
"description": "2",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "format",
"in": "query",
"description": "json",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "cc",
"in": "query",
"description": "no",
"required": true,
"schema": {
"type": "string"
}
}
],
"deprecated": false
}
}
},
"components": {
"schemas": {}
}
}