@openpets/open-meteo
v1.0.0
Published
Open-Meteo weather plugin for forecasts, historical weather, and location geocoding with optional API key support for commercial endpoints.
Downloads
14
Maintainers
Readme
Open-Meteo Pet
Open-Meteo weather plugin for OpenPets.
It provides:
- Forecast weather data (
/forecast) - Historical weather data (
/archive) - Place search via geocoding (
/search) - Connection test tool
Tools
open-meteo-test-connectionopen-meteo-geocodeopen-meteo-get-forecastopen-meteo-get-historical
Environment Variables
No required environment variables.
Optional:
OPEN_METEO_API_KEY- API key for commercial customer endpointsOPEN_METEO_BASE_URL- Override weather API base URLOPEN_METEO_GEOCODING_BASE_URL- Override geocoding API base URL
Quick Start
cd pets/open-meteo
opencode run "test open-meteo connection" --print-logs
opencode run "geocode Berlin" --print-logs
opencode run "get forecast for 52.52,13.41" --print-logsPublish Before pets run
pets run open-meteo resolves @openpets/open-meteo from npm.
If you want to run it by package name (instead of local folder), publish first:
cd pets/open-meteo
pets publish --preview
pets publishNotes
- Public Open-Meteo endpoints are generally usable without an API key.
includeRaw=trueon forecast/historical tools returns full payloads.- Default responses return summarized previews to keep context small.
