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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file nonebot_plugin_xjie_weather-1.2.1.tar.gz.

File metadata

File hashes

Hashes for nonebot_plugin_xjie_weather-1.2.1.tar.gz
Algorithm Hash digest
SHA256 aa726fc4e98a4948fa4b564c8c647da37b0ec2065a684a403c1eef83c17970ba
MD5 994ca09521fcec5571f8b26e793c5d15
BLAKE2b-256 60b29e603a984c3b9f4cea904a82f36f595a37b4d280856b952aa863c258720e

See more details on using hashes here.

File details

Details for the file nonebot_plugin_xjie_weather-1.2.1-py3-none-any.whl.

File metadata

File hashes

Hashes for nonebot_plugin_xjie_weather-1.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 1548b8517b646f952b2883c8a210f5e387c615fc7f5f75a428816b054882647b
MD5 d5170ad3ea866980770e6e37e803caf4
BLAKE2b-256 89a05960393a0f9dc80613316af4c30ac4c2ef4d8d4523b78804fab3bc22966b

See more details on using hashes here.

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