← 返回
未分类 中文

Weather Tool

Get current weather and forecasts. Use when user needs to check current weather, get forecast for travel planning, or monitor weather conditions.
获取当前天气和预报,用于查看天气、规划出行或监测天气状况。
dinghaibin dinghaibin 来源
未分类 clawhub v1.0.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 247
下载
💾 0
安装
1
版本
#latest

概述

Weather Tool

Get current weather and forecasts.

Quick Start

# Current weather
python scripts/weather.py Beijing

# Forecast
python scripts/weather.py Beijing --forecast 3

Usage

python scripts/weather.py [LOCATION] [OPTIONS]

Options:
  --forecast DAYS   Forecast days (1-7)
  --json            Output as JSON
  --celsius         Use Celsius (default)
  --fahrenheit      Use Fahrenheit

Examples

# Current weather
python scripts/weather.py Beijing

# 3-day forecast
python scripts/weather.py Shanghai --forecast 3

# JSON output
python scripts/weather.py "New York" --json

Features

  • Current weather conditions
  • Multi-day forecasts
  • Temperature in C/F
  • JSON output
  • Multiple location support

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-05-21 14:45 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

dev-programming

Url Shortener

dinghaibin
创建和管理短链接,支持自定义别名和追踪。适用于缩短长链接、创建易记的自定义链接、追踪点击统计等场景。
★ 1 📥 2,621
life-service

Weather

steipete
获取当前天气和预报(无需API密钥)
★ 455 📥 228,359
life-service

Caldav Calendar

asleep123
使用 vdirsyncer + khal 同步并查询 CalDAV 日历(iCloud、Google、Fastmail、Nextcloud 等)。适用于 Linux。
★ 243 📥 30,635