Empty API

Weather API

1.0.0OAS 3.1

API for retrieving weather information, including current conditions, forecasts, and historical data.

API Base URL
  • Server 1:https://api.example.com/weather/v1

    Main API server

Additional Information

Weather

Operations related to weather data

Get current weather

Retrieves current weather conditions for a specified location.

get
https://api.example.com/weather/v1/current-weather

Query Parameters

locationstringrequired

Location for which to retrieve weather data.

Response

application/json

Successful operation

CurrentWeather

locationstring

Location of the weather data.

temperaturenumber(float)

Current temperature in Celsius.

humidityinteger

Current humidity percentage.

wind_speednumber(float)

Current wind speed in km/h.

descriptionstring

Description of the current weather conditions.

get/current-weather
 
application/json