genshin.py

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

MIT License

Downloads
1.5K
Stars
363
Committers
13

Bot releases are hidden (Show)

genshin.py - 0.2.0

Published by thesadru almost 3 years ago

What's new

  • Added partial support for i18n
  • Added a way to specify the characters you want to get with get_user
  • Improved rate limit handling for certain endpoints
  • Made paginators awaitable

Fixes

  • Fixed breaking API changes caused by the second banner
  • Deprecated authkeys in support pages
  • Fixed pydantic bug with ClassVar not being recognized properly
genshin.py - 0.1.0

Published by thesadru almost 3 years ago

What's new

  • Implemented the Traveler's Diary
  • Cache uids for daily rewards and similar endpoints.
  • Support artifact levels
  • Add an enabled field for artifact set effects

Fixes

  • Migrate server domains in accordance with the recent HoYoLAB server migration
  • Remove invalid authkey validation
  • Make permanent caches persist
  • No longer attempt to close non-existent sessions in MultiCookieClient
  • Fix minor problems with model validation
genshin.py - 0.0.2

Published by thesadru almost 3 years ago

What's new

  • Implemented Real-Time notes
  • Added Labyrinth Warriors to activities
  • Made all datetime objects timezone aware.
  • Added public privacy settings to record cards.
  • Added basic support for Redis caches
  • Added new CLI commands
  • Added pdoc-generated API documentation
    • Started using ReST-style docstrings
    • Added module docstrings
  • Made debug a property instead of an __init__ param

Fixes

  • Chinese daily reward claiming will no longer consistently raise errors due to invalid headers.
  • get_banner_details no longer requires gacha ids. They will be fetched from a user-maintained database from now on.
  • genshin.models.base.BaseCharacter is now a string instead of CharacterIcon
  • genshin.models.base.GenshinModel.dict() now also includes properties as it is immutable.

Documentation

  • Documented a large part of the library with at least simple examples
  • Added credits to some people who considerably influenced the development of this library
Package Rankings
Top 5.37% on Pypi.org
Badges
Extracted from project README
Downloads PyPI package Last Commit Coverage Discord