<!-- 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/MaxCrazy1101/nonebot_plugin_lolmatch",
"name": "nonebot_plugin_lolmatch",
"maintainer": null,
"docs_url": null,
"requires_python": "<4.0.0,>=3.8",
"maintainer_email": null,
"keywords": "nonebot, nonebot2, LoL",
"author": "Alex Newton",
"author_email": "sharenfan222@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/f5/5e/c6396ad456e7912002712cab107f13b2d0a33680b521ea890313528af49d/nonebot_plugin_lolmatch-0.4.0.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": null,
"version": "0.4.0",
"project_urls": {
"Homepage": "https://github.com/MaxCrazy1101/nonebot_plugin_lolmatch",
"Repository": "https://github.com/MaxCrazy1101/nonebot_plugin_lolmatch"
},
"split_keywords": [
"nonebot",
" nonebot2",
" lol"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "3135322a5154540d2beea2b9f10dc7459a00257d14d0584c2256bbd5b6947d8b",
"md5": "7954cac28daa851c930b2339eff8337a",
"sha256": "146548c9a382e9b7d9e105e335bc110eba213b1ba1f7395b9aa46c39dafb674d"
},
"downloads": -1,
"filename": "nonebot_plugin_lolmatch-0.4.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "7954cac28daa851c930b2339eff8337a",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<4.0.0,>=3.8",
"size": 17597,
"upload_time": "2024-11-01T07:46:08",
"upload_time_iso_8601": "2024-11-01T07:46:08.631461Z",
"url": "https://files.pythonhosted.org/packages/31/35/322a5154540d2beea2b9f10dc7459a00257d14d0584c2256bbd5b6947d8b/nonebot_plugin_lolmatch-0.4.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "f55ec6396ad456e7912002712cab107f13b2d0a33680b521ea890313528af49d",
"md5": "83e2dd3311d916ba73548687e43245f8",
"sha256": "9e2f6365cf4007286977a092b3e33ec9d6143fd60ed56c18e16863faaf5d80c4"
},
"downloads": -1,
"filename": "nonebot_plugin_lolmatch-0.4.0.tar.gz",
"has_sig": false,
"md5_digest": "83e2dd3311d916ba73548687e43245f8",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<4.0.0,>=3.8",
"size": 15537,
"upload_time": "2024-11-01T07:46:10",
"upload_time_iso_8601": "2024-11-01T07:46:10.542261Z",
"url": "https://files.pythonhosted.org/packages/f5/5e/c6396ad456e7912002712cab107f13b2d0a33680b521ea890313528af49d/nonebot_plugin_lolmatch-0.4.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-11-01 07:46:10",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "MaxCrazy1101",
"github_project": "nonebot_plugin_lolmatch",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "nonebot_plugin_lolmatch"
}