날씨 예보
날씨 예보 · Actions GPT
7timer Weather API
API for accessing weather forecasts from 7timer.info, with a focus on astronomical viewing conditions.
GET /api.plGet Weather ForecastRetrieves weather forecast data based on longitude, latitude, product type, and output format.
Schéma original API
{
"openapi": "3.0.0",
"info": {
"title": "7timer Weather API",
"description": "API for accessing weather forecasts from 7timer.info, with a focus on astronomical viewing conditions.",
"version": "1.0.0"
},
"servers": [
{
"url": "https://www.7timer.info/bin/",
"description": "Main API server (secure)"
}
],
"paths": {
"/api.pl": {
"get": {
"operationId": "getWeatherForecast",
"summary": "Get Weather Forecast",
"description": "Retrieves weather forecast data based on longitude, latitude, product type, and output format.",
"parameters": [
{
"name": "lon",
"in": "query",
"description": "Longitude for the forecast location",
"required": true,
"schema": {
"type": "number",
"format": "float"
}
},
{
"name": "lat",
"in": "query",
"description": "Latitude for the forecast location",
"required": true,
"schema": {
"type": "number",
"format": "float"
}
},
{
"name": "product",
"in": "query",
"description": "Type of forecast product to retrieve",
"required": true,
"schema": {
"type": "string",
"enum": [
"astro",
"civillight",
"meteo"
]
}
},
{
"name": "output",
"in": "query",
"description": "Output format of the forecast data",
"required": true,
"schema": {
"type": "string",
"enum": [
"json",
"xml"
]
}
}
],
"responses": {
"200": {
"description": "Successful response with weather forecast data",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {}
}
},
"application/xml": {
"schema": {
"type": "string"
}
}
}
}
}
}
}
}
}