Skip to main content

Honkai Star Rail Toolkit

Project description

《崩坏:星穹铁道》工具箱

logo
Starrail Toolkit

- 主分支版本:0.1.0
- 开发分支版本:0.1.0

开发状态

  • 支持命令行导出 csv、xlsx、json 格式抽卡记录
  • 支持命令行显示抽卡报告
  • 支持导出网页版抽卡报告
  • 支持 Windows 平台游戏中自动检测 API URL
  • 实现用户界面并编译到 Windows 与 macOS 平台
  • 支持自动检查更新

安装方式

目前仅提供命令行版本,用户交互界面版本正在开发中。

命令行安装

Python 用户可以直接使用 pip 安装本工具:

pip install starrail-toolkit --upgrade

使用指南

获取抽卡查询 API URL

由此可以获得一个形如 https://api-takumi.mihoyo.com/common/gacha_record/api/getGachaLog?xxxxx 的 URL,后续步骤使用的就是这个 URL。注意:API URL 会在一定时间后过期,过期后需要重新获取。

导出抽卡记录

命令行导出

可以使用如下命令导出:

hksr https://api-takumi.mihoyo.com/xxx --export all

参数:--export 为导出格式,默认为导出全部格式,若仅需导出部分格式,可将对应参数替换。目前支持的格式有 csvjsonxlsx,替换方式例如 --export json xlsx

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

starrail-toolkit-0.1.0.tar.gz (23.8 kB view hashes)

Uploaded Source

Built Distribution

starrail_toolkit-0.1.0-py3-none-any.whl (24.9 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