Nonebot2插件,从哔哩哔哩会员购获取简易展览数据
Project description
📖 介绍
一个简单的 Nonebot2 插件,可以从哔哩哔哩会员购 API 获取展览(漫展等)的时间,地点,票价等信息。
💿 安装
使用 nb-cli 安装
在 nonebot2 项目的根目录下打开命令行, 输入以下指令即可安装nb plugin install nonebot-plugin-acgnshow
使用包管理器安装
在 nonebot2 项目的插件目录下, 打开命令行, 根据你使用的包管理器, 输入相应的安装命令pip
pip install nonebot-plugin-acgnshow
pdm
pdm add nonebot-plugin-acgnshow
poetry
poetry add nonebot-plugin-acgnshow
conda
conda install nonebot-plugin-acgnshow
打开 nonebot2 项目根目录下的 pyproject.toml
文件, 在 [tool.nonebot]
部分追加写入
plugins = ["nonebot_plugin_acgnshow"]
🎉 使用
发送展览
指令可以获取使用说明
⚙️ 配置
在 nonebot2 项目的.env
文件中添加下表中的配置
配置项 | 必填 | 默认值 | 说明 |
---|---|---|---|
ACGNSHOW_PAGESIZE | 否 | 8 | 单个图片的条目数,最大为20,条目数过大可能导致 Bot 无法发送 |
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_acgnshow-0.1.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 443ad3f2eb59d76c4044f6588033a1fa922bb1ffa007684a548df4c992319835 |
|
MD5 | 9cd4a5098d85541de74ca6348844fc61 |
|
BLAKE2b-256 | 6989291fd1650975a1c31e5ab48a4bf9c0b4cb73cd41791d55610997f1fa34fd |
Close
Hashes for nonebot_plugin_acgnshow-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b886bc471d26168a213c807463f090f427f4628ecd25ea02830d16155da67848 |
|
MD5 | a6fdf0280bf53aa9a020778802b71db8 |
|
BLAKE2b-256 | 366628532a8d57b157f4e1d2eae77931cb3a3529a28914d0b35a0b6e6786829e |