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.4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9377fe629861fb96e06aa28ee0309343f78b5aad3bb88612f631fe86ce29c042 |
|
MD5 | 4a5dd013fcdc7cb712b0723d24f52cf7 |
|
BLAKE2b-256 | f3521bbdbcddfba9002ed38ec6e6ca94e1f586a86826ab779340a66941205287 |
Close
Hashes for nonebot_plugin_heweather-0.5.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8ee0e1abbe8e520dcb72a745b507b5099f7f211e4a6d74827f12387d2a166351 |
|
MD5 | b6dd03aad1f78999bc8950748407f7b4 |
|
BLAKE2b-256 | b4321da4b6af8a03aa17773eadc1cf10f2b72ae3a4341b47c4cd83021b88e6bd |