A Python library for miHoYo bbs and HoYoLAB Community

Overview

genshinhelper

A Python library for miHoYo bbs and HoYoLAB Community.

Installation

Via pip:

pip install onepush

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)
You might also like...
A community Billy vs SNAKEMAN bot

BvS Bot A discord bot built for the Billy vs SNAKEMAN community! Dependencies An installation of Python 3.9.x with ssl compiled. The following pip pac

A heraldry-related bot, designed for the Heraldry Community.
A heraldry-related bot, designed for the Heraldry Community.

Heraldtron A heraldry-related bot, designed for the Heraldry Community. Requirements Python 3.9+ discord.py aiohttp (comes installed with discord.py)

🤖 A discord bot for Dota2 community
🤖 A discord bot for Dota2 community

BOTA BOT-A is a free Discord Dota 2 bot which provides comprehensive Information of every Dota 2 characters and exciting features for the community. P

Simple Discord bot for the Collectez community.

Harvey - Discord Bot Simple Discord bot for the Collectez community. Features Ping the current status of Collectez's Teztools node. Steal emojis from

Discord bot developed by Delhi University Student Community!

DUSC-Bot Discord bot developed by Delhi University Student Community! Libraries Used Pycord - Documentation Features Can purge messages in bulk Drop-D

Aio-binance-library - Async library for connecting to the Binance API on Python

aio-binance-library Async library for connecting to the Binance API on Python Th

alpaca-trade-api-python is a python library for the Alpaca Commission Free Trading API.

alpaca-trade-api-python is a python library for the Alpaca Commission Free Trading API. It allows rapid trading algo development easily, with support for both REST and streaming data interfaces

A Python Library to interface with LinkedIn API, OAuth and JSON responses

#Overview Here's another library based on the LinkedIn API, OAuth and JSON responses. Hope this documentation explains everything you need to get star

A lightweight, dependency-free Python library (and command-line utility) for downloading YouTube Videos.

24 July 2020 Actively soliciting contributers! Ping @ronncc if you would like to help out! pytube pytube is a very serious, lightweight, dependency-fr

Releases(2.1.0)
  • 2.1.0(Aug 1, 2022)

  • 2.0.2(Nov 1, 2021)

  • 2.0.1(Nov 1, 2021)

    • fix: wrong installation and converter Use genshinhelper or python -m genshinhelper from the terminal to call the cookie converter.

    • fix: update Honkai 3rd check-in api to v2

    Source code(tar.gz)
    Source code(zip)
  • 2.0.0(Oct 30, 2021)

    Breaking Changes genshinhelper 从v2.0.0开始,分为genshinhelper2和genshin-checkin-helper两个项目,同时分离出onepush推送包。

    genshinhelper2 - 签到相关的封装库,不能开箱即用。 genshin-checkin-helper - 签到主程序。 onepush - Push all in One. 一个简单易用的推送包。

    之前终端运行 genshinhelper or python -m genshinhelper可以直接运行签到脚本,现在改为将论坛cookie转换为米游币cookie。

    配置文件config.json变化:

    新增变量

    RANDOM_SLEEP_SECS_RANGE:随机延迟休眠秒数范围,单位:秒。设置成"0-0"为取消延迟。 CHECK_IN_TIME:每日签到时间。该时间和运行环境的时间有关,和时区无关。如果是docker,可以用TZ=Asia/Shanghai设置时区。 CHECK_RESIN_SECS:原神原粹树脂检测间隔时间,单位:秒。 COOKIE_RESIN_TIMER:需要开启原粹树脂检测账号的cookie。 SHOPTOKEN:微信积分商城的token,通过抓包获取。 ONEPUSH:推送配置。notifier为推送名字,params为所需参数。详见这里

    修改变量

    COOKIE_WEIBO:国际版微博抓包后,请求地址里?后的全部参数。 例如: https://api.weibo.cn/2/xxxxxx?aid=xxx&c=weicoabroad&from=123&gsid=_xxx&i=xxx&lang=zh_CN&s=xxx&ua=iPhone12%2C1_iOS14.0.1_Weibo_intl._4330_cell&v_p=59

    COOKIE_WEIBO= aid=xxx&c=weicoabroad&from=123&gsid=_xxx&i=xxx&lang=zh_CN&s=xxx&ua=iPhone12%2C1_iOS14.0.1_Weibo_intl._4330_cell&v_p=59

    移除变量

    CRON_SIGNIN MAX_SLEEP_SECS RUN_ENV BARK_KEY BARK_SOUND COOL_PUSH_SKEY COOL_PUSH_MODE CUSTOM_NOTIFIER DD_BOT_TOKEN DD_BOT_SECRET DISCORD_WEBHOOK IGOT_KEY PUSH_PLUS_TOKEN PUSH_PLUS_USER SCKEY SCTKEY TG_BOT_API TG_BOT_TOKEN TG_USER_ID WW_ID WW_APP_SECRET WW_APP_USERID WW_APP_AGENTID WW_BOT_KEY

    Features

    • 新增 原神原粹树脂溢出提醒
    • 新增 原神微信积分商城签到
    • 新增 社区任务签到支持崩坏:星穹铁道
    • 新增 社区任务签到支持显示当前米游币
    • 新增 hoyolab国际服支持显示角色服务器
    • 新增 hoyolab国际服支持显示旅行者札记Traveler‘s Diary

    Fixes

    • 修复 微博超话检测失效
    Source code(tar.gz)
    Source code(zip)
The community bot for the Python Discord community

Python Utility Bot This project is a Discord bot specifically for use with the Python Discord server. It provides numerous utilities and other tools t

Python Discord 998 Jan 3, 2023
The Official Twilio SendGrid Led, Community Driven Python API Library

The default branch name for this repository has been changed to main as of 07/27/2020. This library allows you to quickly and easily use the SendGrid

Twilio SendGrid 1.4k Jan 7, 2023
Community-based extensions for the python-telegram-bot library.

Community-based extensions for the python-telegram-bot library. Table of contents Introduction Installing Getting help Contributing License Introducti

null 74 Dec 24, 2022
A community made discord bot coded in Python and running on AWS.

Pogbot Project Open Group Discord This is an open source community ran project. Join the discord for more information on how to participate. Coded in

Project Open Group 2 Jul 27, 2022
A discord bot made by the community (uses python)

discord community bot context: this is a discord bot made by the community by community i mean people adding commands to the bot or changing the bot b

TR ASH 0 Oct 11, 2022
The Python version of the official Discord bot for the Astura Studios Discord community server.

About Astura (Python version) is the official Discord bot for the Astura Studios Discord community server developed and maintained by Ascendus and the

Ascendus 1 Apr 21, 2022
Python client for numerbay.ai - the Numerai community marketplace

NumerBay Python API Programmatic interaction with numerbay.ai - the Numerai community marketplace. If you encounter a problem or have suggestions, fee

Numerai Council of Elders 5 Nov 30, 2022
WallAlley.bot is an open source and free to use financial discord bot originaly build for WallAlley server's community

WallAlley.bot About WallAlley.bot is an open source and free to use financial discord bot originaly build for WallAlley server's community. All data a

Mohammad KHADDAN 1 Jan 22, 2022
Local community telegram bot

Бот на районе Телеграм-бот для поиска адресов и заведений в вашем районе города или в небольшом городке. Требует недели прогулок по району д

Ilya Zverev 32 Jan 19, 2022
Robocord is a bot created for the Pycord community.

Robocord is a bot created for the community of the Pycord Server. Just a bot created for Pycord Server. You can start pull requests, I will check it and if its good I will add it to the bot. ??

Bruce 7 Jun 26, 2022