Skip to content
This repository has been archived by the owner on Mar 12, 2022. It is now read-only.

查询原神、崩坏三信息(API变更, 停止更新)

License

Notifications You must be signed in to change notification settings

chinosk6/ChieriBot-miHoYo_Query

Repository files navigation

Chieri Bot miHoYo模块

调用方法

准备阶段

  • 将米游社cookie (cookie获取方法请参考:YuanShen_User_Info) 添加至Genshin_query/YuanShen_User_Info/mys_cookies.db内, 可以添加多个, 以便触发30次的限制后切换cookie

调用

  • 参考run.py
import Genshin_query

# 原神个人信息
Genshin_query.functions.generate_genshin_baseinfo("米游社id")

# 原神深境螺旋
Genshin_query.functions.generate_genshin_sjlxinfo("米游社id")

# 崩坏三个人信息
Genshin_query.functions.generate_honkai_userinfo("米游社id")

# 以上函数返回值均为图片生成后的绝对位置

效果预览

  • 原神个人信息

  • 原神深渊信息

  • 崩坏三信息