Library / Code, Git & Developer Tools
Code, Git & Developer Tools
Provide normalized weather forecasts with WeatherAPI and Open-Meteo
When an API call/webhook arrives, it automates developer work.
What it does
## 🌦️ 天気情報プロキシAPI 誰向け: 自分のワークフローやWebアプリから、天気予報・過去天気データを1本のWebhook URLでまとめて取得したい人向け。 何をするか: 1. Webhookで lat(緯度)・lon(経度)・start_date(日付)をクエリで受け取る 2. 出発日が14日以内なら WeatherAPI.com の予報API、14日より先なら Open-Meteo の過去気候データAPI(前年同月の平均)を自動で使い分け 3. 気温・降水確率・天候カテゴリ(hot/cold/snow/rain/mild)に整形してJSONで返す セットアップ方法: 1. WeatherAPI.com で無料アカウントを作成しAPIキーを取得 2. 「天気API1」ノードの Credential(Query Auth)に、Name=key、Value=取得したAPIキーを設定 3. Webhookを有効化し、?lat=35.68&lon=139.76&start_date=2026-10-01 のようにクエリを付けて呼び出す 必要なもの: WeatherAPI.com の無料APIキー(Open-Meteoはキー不要) カスタマイズ: 天候カテゴリ判定のしきい値(気温・降水確率)はコードノード内で調整可能
The steps
- レスポンス整形
- Webhook1
- パラメータ構築1
- 天気API1
- レスポンス返却1
Similar automations
AI Agents & AssistantsAnswer Weather Questions with OpenAI and Open-Meteo6 stepsAlerts & NotificationsPrepare store weather alerts from Open-Meteo with Claude drafts to Slack14 stepsAI Agents & AssistantsWeather Forecast Chat Agent with OpenAI and Open-Meteo27 stepsEmail AutomationDispatch snow and ice crews from forecasts with Open-Meteo, GPT-4o and Gmail42 steps