mirror of
https://github.com/open-webui/openapi-servers.git
synced 2026-08-24 12:02:55 -04:00
[PR #24] [MERGED] feat: Add Weather server using free, no API key needed open-meteo.com API #4
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/open-webui/openapi-servers/pull/24
Author: @taylorwilsdon
Created: 4/6/2025
Status: ✅ Merged
Merged: 4/8/2025
Merged by: @tjbck
Base:
main← Head:weather_server📝 Commits (2)
3a4036cAdd weather server381a4b5Implement support for automatic F/C designation based on location of weather call📊 Changes
5 files changed (+212 additions, -0 deletions)
View changed files
➕
servers/weather/.dockerignore(+34 -0)➕
servers/weather/Dockerfile(+51 -0)➕
servers/weather/compose.yaml(+7 -0)➕
servers/weather/main.py(+112 -0)➕
servers/weather/requirements.txt(+8 -0)📄 Description
Add Weather API Tool using Open-Meteo
Summary
This PR introduces a new weather retrieval API tool powered by Open-Meteo, allowing users to fetch current weather conditions and hourly forecasts based on latitude and longitude.
Screenshots:


Features
/forecastImplementation Details
Dependencies
requestsadded for external API calls.Queryparameter handling for latitude and longitude.Testing
Manual testing confirmed successful retrieval of weather data from the Open-Meteo API.
Usage Example
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.