Weather Plus
Weather, forecasts, clothing index & feels-like temperature. No API key needed. 0.001 USDT/call.
Commands
| Command | Script | Description |
|---|
| weather | INLINECODE0 | Current weather + feels-like |
| forecast |
scripts/forecast.py | Multi-day forecast (up to 7 days) |
|
clothing |
scripts/clothing.py | Clothing/dressing index + recommendations |
|
billing |
scripts/billing.py | SkillPay charge/balance/payment |
Workflow
CODEBLOCK0
Examples
CODEBLOCK1
Config
| Env Var | Required | Description |
|---|
| INLINECODE4 | Yes | SkillPay.me API key |
References
See references/clothing-index.md for dressing recommendation methodology.
天气增强版
天气、预报、穿衣指数与体感温度。无需API密钥。每次调用0.001 USDT。
命令
| 命令 | 脚本 | 描述 |
|---|
| weather | scripts/weather.py | 当前天气 + 体感温度 |
| forecast |
scripts/forecast.py | 多日预报(最多7天) |
|
clothing | scripts/clothing.py | 穿衣/着装指数 + 建议 |
|
billing | scripts/billing.py | SkillPay 扣费/余额/支付 |
工作流程
- 1. 计费: python3 scripts/billing.py --charge --user-id
- 天气: python3 scripts/weather.py --city 北京
- 预报: python3 scripts/forecast.py --city 上海 --days 5
- 穿衣: python3 scripts/clothing.py --city 成都
示例
bash
当前天气
python3 scripts/weather.py --city New York
python3 scripts/weather.py --city 成都
多日预报
python3 scripts/forecast.py --city 东京 --days 7
穿衣指数
python3 scripts/clothing.py --city 北京
python3 scripts/clothing.py --city 伦敦
配置
| 环境变量 | 必需 | 描述 |
|---|
| SKILLPAYAPIKEY | 是 | SkillPay.me API密钥 |
参考
穿衣建议方法请参见 references/clothing-index.md。