Skip to main content

A little weather plugin

Project description

NoneBotPluginLogo

nonebot-plugin-xjie-weather

✨一个 NoneBot 天气插件✨

python pypi Static Badge

图片无法加载可访问

公告

24-7-10开始对插件设置部分进行重构

安装

  • 使用 nb-cli
nb plugin install nonebot-plugin-xjie-weather
  • 使用 pip
pip install nonebot-plugin-xjie-weather

支持

目前支持

API 是否支持 调用天气预报 城市编码获取
高德天气 支持✅ 300000次 5000次/天
和风天气 支持✅ 1000次/天 和前面次数共用
Visual Crossing 未完成❌
心知天气 未完成❌

BUG反馈

请提issues或邮箱1095530449@qq.com

配置

  • 使用setup命令交互式设置key
AMAP_KEY         高德
QWEATHER_KEY     和风天气

如果有多个key想使用哪个或者在一个平台的调用次数用完后可以进行切换

default_api     优先使用的平台

手动填入的话平台名为上面的key名

st

平台key获取

📦 高德

插件返回的天气预报图片效果

高德

高德地图返回的天气数据种类不多但对于只看个天气预报而已的完全够

毕竟高德调用的次数挺多的

高德

和风天气

好看

和风

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nonebot_plugin_xjie_weather-1.2.1.tar.gz (801.6 kB view hashes)

Uploaded Source

Built Distribution

nonebot_plugin_xjie_weather-1.2.1-py3-none-any.whl (807.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page