Get Heweather information and convert to pictures
Project description
nonebot-plugin-heweather
获取和风天气信息并转换为图片
使用html+playwright来渲染好看的!
- 使用了
自产自销的nonebot-plugin-htmlrender - 需要先保证playwright可以正常运行并在系统(或容器中)存在中文字体
安装
直接使用 pip install nonebot-plugin-heweather
进行安装
在 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.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 02a88c93bf517f454917cbe5967f06ef3f6c9803405198056f6e39d742ec0291 |
|
MD5 | 4ede9f689acae78b49916f4100659c7e |
|
BLAKE2b-256 | 0b1d262a2ed8b7ddb7d3cb0521440ce620d8f01a9cefb92251b92d8153e7e14a |
Close
Hashes for nonebot_plugin_heweather-0.5.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 19a80228e2a3839ab93536eaa2af6d7e11bacc054b2fde7eca42e0030c35c813 |
|
MD5 | 42c51937ed52030d1b04f4ebb5970bf6 |
|
BLAKE2b-256 | d94243a46496fff5fdbfa90a1d43a53f0a5d1a839db88c52f34d9ec287844200 |