Releases: RF-Tar-Railt/arknights-toolkit
Releases · RF-Tar-Railt/arknights-toolkit
Arknight Toolkit 0.4.0
新增抽卡分析功能
(移植于 nonebot_plugin_arkrecord)
from arknights_toolkit import ArkRecord
from PIL import Image
record = ArkRecord("./cache/img/", "./cache/record.db")
record.user_token_save("example_token", "3165388245")
img: Image.Image = Image.open(record.user_analysis("3165388245"))
img.show('res')
Arknight Toolkit 0.3.0
新增猜干员游戏,通过缓存文件保存多轮会话功能
from arknights_toolkit.wordle import OperatorWordle
wordle = OperatorWordle(...) # cache dir
session_id = input("session >>>")
wordle.select(session_id)
while True:
name = input("guess >>>")
ans = wordle.guess(name, session_id )
print(wordle.draw(ans, simple=True))
if ans.state != "guessing":
break
Arknight Toolkit 0.2.0
- 加入了 干员信息查询 功能,依托 prts 与 playwright的截图功能
from arknights_toolkit.info import query
...
async def main():
data = await query("艾雅法拉", "档案")