Skip to main content

An arcaea rhythm game score-querying plugin for nonebot2

Reason this release was yanked:

ugly

Project description

nonebot-plugin-arcaea

pypi implementation wheel python license

功能 Resume

Arcaea 查分器,可以实现 best30 | recent | songinfo 之类的查询功能

特点 Feature

  • 可以添加自建 API,需要自己写 Adapter

  • 以图片形式返回 best30 | recent

  • 图片可以自定义主题

快速开始 Quickstart

注意

  1. 由于使用了 colon equal,使用前请保证 python>=3.8

  2. 由于使用了 shell_like command,使用前请保证 nonebot2 处于 v2a9 以上的版本

  3. 安装插件

pip install nonebot-plugin-arcaea

如果你使用的是 nb plugin install,此时 bot.py 会自动插入 nonebot.load_plugin('nonebot_plugin_arcaea')

若没有,请手动添加

bot 指令

  • /arc bind 绑定账户

  • /arc recent 查询最近游玩,返回文字

  • /arc b30 查询 best30,返回图片

可选配置项 Optional Env

ARCAEA_API:

  • estertion
  • http://127.0.0.1:616/v3
  • mix http://127.0.0.1:616/v3

本插件为来自 BotArcApi 搭建的 API 做了适配,只需要按照以上配置填写便可使用

mix 开头的配置项代表 API 混合查询,详情见源码

特别感谢

优化建议

如有优化建议请积极提交 issues 或者 pull requests

碎碎念

在完成这个插件的中途,我 kou 框了

最近忙着开一个全栈的新项目(接单),在接下来至少一个星期我将不会对此项目进行更新,但是 pr 和 issue 是会看的,欢迎贡献您的代码

后期打算

使用 fastapi 实现 allscores 的查询

为 recent 添加图片查询功能

使用 pandas 结合 estertion 给出的查分记录完成 chart 分析

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nonebot-plugin-arcaea-0.1.3.tar.gz (650.6 kB view hashes)

Uploaded Source

Built Distribution

nonebot_plugin_arcaea-0.1.3-py3-none-any.whl (661.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page