Get Heweather information and convert to pictures
Project description
nonebot-plugin-heweather
获取和风天气信息并转换为图片
配置
apikey
注意保留 &key=
QWEATHER_APIKEY = &key=xxx
字体文件
在resource
里
默认路径./data/heweather/font.ttc
环境配置
QWEATHER_FONT = "./data/heweather/font.ttc'
- 使用 truetype 字体
- 建议使用微软雅黑
图标文件
在resource
里
环境配置
注意末端的/
, 代表目录!
默认路径./data/heweather/icon/
QWEATHER_ICON_DIR = "./data/heweather/icon/'
背景文件
在resource
里
环境配置
默认路径./data/heweather/backgroud.png
QWEATHER_ICON_DIR = "./data/heweather/backgroud.png'
指令
天气+地区
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.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 58645a9ef2cca66d086c50d2b85ee0ead4aef3ac4f46fda1633387684915db64 |
|
MD5 | 7722c0fbda1fa455af1d8e050a4026d1 |
|
BLAKE2b-256 | 009e1c77109ab260481de04be025aeee51ee81c040c5a1bcc22298595142f703 |
Close
Hashes for nonebot_plugin_heweather-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cc73fa92855914277413b3d6adb19af71b37d8fe728c9f2371c31b2b2eb67438 |
|
MD5 | 3331443a9952c40e4390d8163390f8a2 |
|
BLAKE2b-256 | 0631c714e347200a49a2149454e0b017c9dfc488062fe460af83068540b96227 |