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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for nonebot-plugin-heweather-0.5.0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 66df3799cc1375c065154bbe3d0fc6f5dd580d29af73532a6730a0bc86f3d719 |
|
MD5 | cf6e29376c063ad267ba98a69a53290c |
|
BLAKE2b-256 | 2b5dd24a0e2eb2752f0716cf326cef46450fb3f8e4789e2f621c177aef8725f4 |
Close
Hashes for nonebot_plugin_heweather-0.5.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | caf9e1b5edfd764af9e138f910ba33d4c752d86c4c0b1668b5c81a970efe146d |
|
MD5 | 15b6dc5a57d0d5be220523a3e695fc19 |
|
BLAKE2b-256 | 88dc73b83ba341925afe4a4d433f1b6f03b528e62158697c02eec8104f56f8a1 |