W3Weather
W3Weather · GPT-Aktionen
Get weather data
Retrieves current weather data for a location.
GET /current.jsonGetCurrentWeatherCurrent weather or realtime weather API method allows a user to get up to date current weather information in json
Ursprüngliches API-Schema
{
"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.weatherapi.com/v1"
}
],
"paths": {
"/current.json": {
"get": {
"description": "Current weather or realtime weather API method allows a user to get up to date current weather information in json",
"operationId": "GetCurrentWeather",
"parameters": [
{
"name": "key",
"in": "query",
"description": "API Key",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "q",
"in": "query",
"description": "Location",
"required": true,
"schema": {
"type": "string"
}
}
],
"deprecated": false
}
}
},
"components": {
"schemas": {}
}
}