genshin.py icon indicating copy to clipboard operation
genshin.py copied to clipboard

Modern API wrapper for Genshin Impact & Honkai Impact 3rd built on asyncio and pydantic. 原神 崩坏3

Results 28 genshin.py issues
Sort by recently updated
recently updated
newest added

> File "/usr/local/lib/python3.8/dist-packages/genshin/client/components/chronicle/genshin.py", line 134, in get_genshin_activities > return models.Activities(**data) > File "/usr/local/lib/python3.8/dist-packages/genshin/models/model.py", line 48, in __init__ > super().__init__(**data) > File "pydantic/main.py", line 341, in pydantic.main.BaseModel.__init__ > raise validation_error >...

Fix abyss battle timestamp, it should be datetime not date

bug

documentation
waiting for user

I got this error when using `get_full_genshin_user`.However `get_genshin_characters` works without error.I try to fetch hoyolab api, it response as normal.This error seem appear at a part of user.Anyone know why...

bug

How to reproduce: 1. Finish any floor of abyss 2. Wait and don't open Hoyolab app or website 3. Use `client.get_spiral_abyss()` function 4. The CharacterRanks is empty. Everything else works....

bug
documentation

This has been bugging me for a while but can you include the raw json data in the returned pydantic model? Sometimes the assumption that you used to parse the...

enhancement

It took so long to make everything correct 💀

**How to reproduce ?** Using CLI to login after that invoke `python -m genshin accounts --cookies "ltoken=...; ltuid=..."` **Current behavior** It's just display error which state: ``` genshin.errors.InvalidCookies: [-100] Cookies...

Hey! It seems like the API is no longer returning the up-to-date banners, it seems to be stuck on Lyney-Yelan banners. Here's how the output looks: ``` async def getbanners():...

bug
API support