y1ndan / genshinhelper2

A Python library for miHoYo bbs and HoYoLAB Community. genshin 原神签到小助手 树脂提醒 微博超话 米游社米游币 崩坏3
https://www.yindan.me
GNU General Public License v3.0
533 stars 237 forks source link
api genshin genshin-impact genshin-impact-helper genshinhelper hoyolab mihoyo

genshinhelper

A Python library for miHoYo bbs and HoYoLAB Community.

Installation

Via pip:

pip install genshinhelper

Or via source code:

git clone https://github.com/y1ndan/genshinhelper2.git
cd genshinhelper2
python setup.py install

Basic Usage

import genshinhelper as gh

cookie = 'account_id=16393939; cookie_token=jPjdK4yd7oeIifkdYhkFhkkjde00hdUgh'
g = gh.Genshin(cookie)
roles = g.roles_info
print(roles)