Weather-Scene Creator
Weather-Scene Creator · Actions GPT
Get weather data
Retrieves current weather data for a location.
GET /v1/current.jsonGetCurrentWeatherGet current weather for a specific location
Schéma original 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.weatherapi.com"
}
],
"paths": {
"/v1/current.json": {
"get": {
"description": "Get current weather for a specific location",
"operationId": "GetCurrentWeather",
"parameters": [
{
"name": "key",
"in": "query",
"description": "The API key needed to retrieve data",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "q",
"in": "query",
"description": "The query parameter to specify location. Can be a city name, lat/long coordinates, or a zip code.",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "aqi",
"in": "query",
"description": "Air Quality Index parameter to include or exclude AQI information. Set to 'yes' or 'no'.",
"required": false,
"schema": {
"type": "string",
"enum": ["yes", "no"]
}
}
],
"deprecated": false
}
}
},
"components": {
"schemas": {}
}
}