Prompt BOOM!
Prompt BOOM! · Actions GPT
Get AMap Weather Data
Retrieves current weather data and forecasts for a specified location using the AMap Weather API.
GET /v3/weather/weatherInfoGetAMapWeatherInfoGet current weather data or weather forecast for a specific location using the AMap Weather API.
Schéma original API
{
"openapi": "3.1.0",
"info": {
"title": "Get AMap Weather Data",
"description": "Retrieves current weather data and forecasts for a specified location using the AMap Weather API.",
"version": "v1.0.0"
},
"servers": [
{
"url": "https://restapi.amap.com"
}
],
"paths": {
"/v3/weather/weatherInfo": {
"get": {
"description": "Get current weather data or weather forecast for a specific location using the AMap Weather API.",
"operationId": "GetAMapWeatherInfo",
"parameters": [
{
"name": "key",
"in": "query",
"description": "API Key for accessing the service",
"required": true,
"schema": {
"type": "string",
"default": "edb991328ec572dd913695ad897c6850"
}
},
{
"name": "city",
"in": "query",
"description": "City code to retrieve the weather for",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "extensions",
"in": "query",
"description": "Type of weather data: 'base' for current weather, 'all' for forecast",
"required": false,
"schema": {
"type": "string",
"enum": [
"base",
"all"
]
}
},
{
"name": "output",
"in": "query",
"description": "Format of the return data, either JSON or XML",
"required": false,
"schema": {
"type": "string",
"enum": [
"JSON",
"XML"
],
"default": "JSON"
}
}
]
}
}
},
"components": {
"schemas": {}
}
}