<!-- markdownlint-disable MD033 MD041-->
<p align="center">
<a href="https://v2.nonebot.dev/"><img src="https://v2.nonebot.dev/logo.png" width="200" height="200" alt="nonebot"></a>
</p>
<div align="center">
# nonebot_plugin_lolmatch
<!-- prettier-ignore-start -->
<!-- markdownlint-disable-next-line MD036 -->
_✨ 一个有关lol比赛信息的插件 ✨_
<!-- prettier-ignore-end -->
</div>
<p align="center">
<a href="https://raw.githubusercontent.com/nonebot/nonebot2/master/LICENSE">
<img src="https://img.shields.io/github/license/nonebot/nonebot2" alt="license">
</a>
## 简介
lolmatch是一个有关于lol比赛信息的插件,你可以用它来获取每天的比赛结果。本人python新手,有bug请提交issue,欢迎pr
## 注意
因为本插件使用了playwright模块,在windows平台下可能需要将.env.dev中的FASTAPI_RELOAD设置为false
使用本插件依赖3个外部插件,可以使用以下命令安装
```
nb plugin install nonebot_plugin_apscheduler
nb plugin install nonebot-plugin-tortoise-orm
nb plugin install nonebot-plugin-htmlrender
```
使用本插件需要提供htmlrender插件可以使用以下命令安装
```
nb plugin install nonebot_plugin_htmlrender
```
## 使用
主命令 lol 查看今日比赛信息
附带命令 本周 查看本周比赛信息
附带命令 详情 [matchID] 查询指定比赛详细信息
附带命令 订阅 [tournamentID] 订阅联赛 每晚检查当日结果和第二天赛程
附带命令 查看订阅 查看已订阅的所有联赛
附带命令 联赛 查看所有即将进行或正在进行的联赛和tournamentID
附带命令 联赛详情 [tournamentID] 查看所选联赛近期已完成的赛事获取 [matchID]
## 即刻开始
- 使用 nb-cli
```
nb plugin install nonebot_plugin_lolmatch
```
- 使用 pip
```
pip install nonebot_plugin_lolmatch
```
### 常见问题
### 教程/实际项目/经验分享
## 许可证
`nonebot_plugin_lolmatch` 采用 `MIT` 协议开源,协议文件参考 [LICENSE](./LICENSE)。
Raw data
{
"_id": null,
"home_page": "https://github.com/Diaosi1111/nonebot_plugin_lolmatch",
"name": "nonebot-plugin-lolmatch",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.8,<4.0",
"maintainer_email": "",
"keywords": "nonebot,nonebot2,LoL",
"author": "Alex Newton",
"author_email": "sharenfan222@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/74/eb/d203023dc703cbfcda7b13455557861fd52460f70c00f61ace8744c5c627/nonebot_plugin_lolmatch-0.3.0.2.tar.gz",
"platform": null,
"description": "<!-- markdownlint-disable MD033 MD041-->\n<p align=\"center\">\n <a href=\"https://v2.nonebot.dev/\"><img src=\"https://v2.nonebot.dev/logo.png\" width=\"200\" height=\"200\" alt=\"nonebot\"></a>\n</p>\n\n<div align=\"center\">\n\n# nonebot_plugin_lolmatch\n\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable-next-line MD036 -->\n_\u2728 \u4e00\u4e2a\u6709\u5173lol\u6bd4\u8d5b\u4fe1\u606f\u7684\u63d2\u4ef6 \u2728_\n<!-- prettier-ignore-end -->\n\n</div>\n\n<p align=\"center\">\n <a href=\"https://raw.githubusercontent.com/nonebot/nonebot2/master/LICENSE\">\n <img src=\"https://img.shields.io/github/license/nonebot/nonebot2\" alt=\"license\">\n </a>\n\n## \u7b80\u4ecb\n\nlolmatch\u662f\u4e00\u4e2a\u6709\u5173\u4e8elol\u6bd4\u8d5b\u4fe1\u606f\u7684\u63d2\u4ef6\uff0c\u4f60\u53ef\u4ee5\u7528\u5b83\u6765\u83b7\u53d6\u6bcf\u5929\u7684\u6bd4\u8d5b\u7ed3\u679c\u3002\u672c\u4ebapython\u65b0\u624b\uff0c\u6709bug\u8bf7\u63d0\u4ea4issue\uff0c\u6b22\u8fcepr\n\n## \u6ce8\u610f\n\n\u56e0\u4e3a\u672c\u63d2\u4ef6\u4f7f\u7528\u4e86playwright\u6a21\u5757\uff0c\u5728windows\u5e73\u53f0\u4e0b\u53ef\u80fd\u9700\u8981\u5c06.env.dev\u4e2d\u7684FASTAPI_RELOAD\u8bbe\u7f6e\u4e3afalse\n\n\u4f7f\u7528\u672c\u63d2\u4ef6\u4f9d\u8d563\u4e2a\u5916\u90e8\u63d2\u4ef6\uff0c\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u5b89\u88c5\n\n```\n nb plugin install nonebot_plugin_apscheduler\n nb plugin install nonebot-plugin-tortoise-orm\n nb plugin install nonebot-plugin-htmlrender \n\n```\n\n\u4f7f\u7528\u672c\u63d2\u4ef6\u9700\u8981\u63d0\u4f9bhtmlrender\u63d2\u4ef6\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u5b89\u88c5\n\n```\n nb plugin install nonebot_plugin_htmlrender\n```\n\n## \u4f7f\u7528\n\n \u4e3b\u547d\u4ee4 lol \u67e5\u770b\u4eca\u65e5\u6bd4\u8d5b\u4fe1\u606f\n \u9644\u5e26\u547d\u4ee4 \u672c\u5468 \u67e5\u770b\u672c\u5468\u6bd4\u8d5b\u4fe1\u606f\n \u9644\u5e26\u547d\u4ee4 \u8be6\u60c5 [matchID] \u67e5\u8be2\u6307\u5b9a\u6bd4\u8d5b\u8be6\u7ec6\u4fe1\u606f\n \u9644\u5e26\u547d\u4ee4 \u8ba2\u9605 [tournamentID] \u8ba2\u9605\u8054\u8d5b \u6bcf\u665a\u68c0\u67e5\u5f53\u65e5\u7ed3\u679c\u548c\u7b2c\u4e8c\u5929\u8d5b\u7a0b\n \u9644\u5e26\u547d\u4ee4 \u67e5\u770b\u8ba2\u9605 \u67e5\u770b\u5df2\u8ba2\u9605\u7684\u6240\u6709\u8054\u8d5b\n \u9644\u5e26\u547d\u4ee4 \u8054\u8d5b \u67e5\u770b\u6240\u6709\u5373\u5c06\u8fdb\u884c\u6216\u6b63\u5728\u8fdb\u884c\u7684\u8054\u8d5b\u548ctournamentID\n \u9644\u5e26\u547d\u4ee4 \u8054\u8d5b\u8be6\u60c5 [tournamentID] \u67e5\u770b\u6240\u9009\u8054\u8d5b\u8fd1\u671f\u5df2\u5b8c\u6210\u7684\u8d5b\u4e8b\u83b7\u53d6 [matchID]\n\n## \u5373\u523b\u5f00\u59cb\n\n- \u4f7f\u7528 nb-cli\n\n```\n nb plugin install nonebot_plugin_lolmatch\n```\n\n- \u4f7f\u7528 pip\n\n```\n pip install nonebot_plugin_lolmatch\n```\n\n### \u5e38\u89c1\u95ee\u9898\n\n### \u6559\u7a0b/\u5b9e\u9645\u9879\u76ee/\u7ecf\u9a8c\u5206\u4eab\n\n## \u8bb8\u53ef\u8bc1\n\n`nonebot_plugin_lolmatch` \u91c7\u7528 `MIT` \u534f\u8bae\u5f00\u6e90\uff0c\u534f\u8bae\u6587\u4ef6\u53c2\u8003 [LICENSE](./LICENSE)\u3002\n\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "",
"version": "0.3.0.2",
"split_keywords": [
"nonebot",
"nonebot2",
"lol"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "113094453c22237ed31d9537eca3ecc22f8261810ea94e77149c95355001ef60",
"md5": "4777d42073fa66e5f4d37692ee297d2a",
"sha256": "b1594544ea83f224c14327ef7782a5f0267c37b58d5be202c1deb5f559373190"
},
"downloads": -1,
"filename": "nonebot_plugin_lolmatch-0.3.0.2-py3-none-any.whl",
"has_sig": false,
"md5_digest": "4777d42073fa66e5f4d37692ee297d2a",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8,<4.0",
"size": 15896,
"upload_time": "2023-01-10T14:04:36",
"upload_time_iso_8601": "2023-01-10T14:04:36.543371Z",
"url": "https://files.pythonhosted.org/packages/11/30/94453c22237ed31d9537eca3ecc22f8261810ea94e77149c95355001ef60/nonebot_plugin_lolmatch-0.3.0.2-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "74ebd203023dc703cbfcda7b13455557861fd52460f70c00f61ace8744c5c627",
"md5": "cfa3ee0438c09ee598391d90b8920e28",
"sha256": "5a9a06c6e70d0528620d5197676807368d60d0014f5481e765e92954461c0bb3"
},
"downloads": -1,
"filename": "nonebot_plugin_lolmatch-0.3.0.2.tar.gz",
"has_sig": false,
"md5_digest": "cfa3ee0438c09ee598391d90b8920e28",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8,<4.0",
"size": 15288,
"upload_time": "2023-01-10T14:04:38",
"upload_time_iso_8601": "2023-01-10T14:04:38.044742Z",
"url": "https://files.pythonhosted.org/packages/74/eb/d203023dc703cbfcda7b13455557861fd52460f70c00f61ace8744c5c627/nonebot_plugin_lolmatch-0.3.0.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-01-10 14:04:38",
"github": true,
"gitlab": false,
"bitbucket": false,
"github_user": "Diaosi1111",
"github_project": "nonebot_plugin_lolmatch",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "nonebot-plugin-lolmatch"
}