Lodol Docs

OpenWeatherMap

API actions for the OpenWeatherMap integration.

OpenWeatherMap

Retrieve weather conditions, forecasts, and air quality metrics.


Get air quality by coordinates

Retrieves the current air quality index and pollutant breakdown for the specified latitude and longitude.

Parameters

ParameterTypeRequiredDescription
latitudenumberYesLatitude of the location
longitudenumberYesLongitude of the location

Response

{
  "status": "mock_value"
}

Get current weather by city

Retrieves the latest weather conditions for the given city, including temperature, humidity, and wind.

Parameters

ParameterTypeRequiredDescription
citystringYesCity name to retrieve weather for
country_codestringNoOptional country code to disambiguate the city (e.g., US, GB)
unitsstringNoUnits for temperature and wind speed: standard, metric, or imperial

Response

{
  "status": "mock_value"
}

Get short-term forecast

Returns upcoming forecast entries for the selected city using the 5 day / 3 hour endpoint.

Parameters

ParameterTypeRequiredDescription
citystringYesCity name to fetch forecasts for
country_codestringNoOptional country code to disambiguate the city (e.g., US, GB)
unitsstringNoUnits for temperature and wind speed: standard, metric, or imperial
limitnumberNoNumber of forecast entries to return

Response

{
  "status": "mock_value"
}

On this page