360 Secure SkillHub
360 安全技能中心

Weather Data API

该 Skill 用 curl 调用本机 HTTP 服务的预报端点获取 NOAA 天气数据:免费接口返回 3 天预报,付费接口需 X-Payment 支付头(0.05 USDC)返回 7 天及逐小时数据,另提供健康检查端点,参数为经纬度。

分类:生活
letorresmeza
letorresmeza
热度 45.46
最近更新 2026-05-11 17:27:00

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add letorresmeza/weather-data
兼容性
通用兼容
联网要求
需要联网
数据出网
必须出网
Metadata
name
weather-data
description
Provides weather forecast data from NOAA. Free tier returns 3-day forecast, premium tier returns 7-day with hourly data.
user-invocable
true

Weather Data Service

Get weather forecasts for any location using NOAA data.

Usage

Free Forecast (3-day)

curl "http://localhost:5000/forecast?lat=40.71&lon=-74.00"

Premium Forecast (7-day + hourly)

Requires x402 payment (0.05 USDC)

curl -H "X-Payment: <payment_header>" "http://localhost:5000/forecast/premium?lat=40.71&lon=-74.00"

Endpoints

  • GET /forecast - Free 3-day forecast
  • GET /forecast/premium - Paid 7-day + hourly forecast (0.05 USDC)
  • GET /health - Health check

Parameters

  • lat - Latitude (default: 40.71)
  • lon - Longitude (default: -74.00)