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.7.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ef921246306c3947a1467778b25dd0b071b23f747de9d51766e370371d56a9d8 |
|
MD5 | fbf7dfc13927e67f503c1046fd0dc770 |
|
BLAKE2b-256 | 0192593a88bfa65cb48acd30dc3409625bce819ba58d30588b373a21481a0042 |
Close
Hashes for nonebot_plugin_heweather-0.5.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5f3f8272e84db7bdd2c88b94aa590318666f9d6a9641c57afbec8f482ef42df8 |
|
MD5 | 1b1fa2be7ccb2f87d204f83d4ad4e539 |
|
BLAKE2b-256 | 01fe0df6fec0bd5605dcce4b0584680b53bf6591c313bd31947e2ca4a9a0212e |