Skip to main content

Get Heweather information and convert to pictures

Project description

nonebot-plugin-heweather

获取和风天气信息并转换为图片

使用html+playwright来渲染好看的!

  • 使用了自产自销的nonebot-plugin-htmlrender
  • 需要先保证playwright可以正常运行并在系统(或容器中)存在中文字体

安装

直接使用 pip install nonebot-plugin-heweather 进行安装 如果是beta1 需要 pip install nonebot-plugin-heweather==0.4.1.1-beta.1

bot.py 中 写入 nonebot.load_plugin("nonebot_plugin_heweather")

指令

天气+地区地区+天气

配置

apikey 必须配置 环境配置

QWEATHER_APIKEY = xxx

api类型 可选配置 环境配置

0 = 普通版(3天天气预报) 1 = 个人开发版(7天天气预报) 2 = 商业版 (7天天气预报)

QWEATHER_APITYPE = 

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-heweather-0.5.0.1.tar.gz (7.0 kB view hashes)

Uploaded Source

Built Distribution

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