Skip to main content

Asynchronous module for working with API Honkai: Star Rail

At the moment it only supports counting guarantors and getting a jumps

Installation:

pip install honkaistarrail

PyPi: OPEN

You can also see other usage examples here: OPEN

Instructions for getting a link to the history of jumps: OPEN

ID Banned:

1 - Event Banner 2 - Light Cone 3 - Standart Banner

Launc:

# Copyright 2023 DEViantUa <t.me/deviant_ua>
# All rights reserved.

'''
This method returns the full history of jumps for the 
last 3 months, does not return the results of jumps 
and how much is left before the guarantor.
'''

import asyncio
from honkaistarrail import starrail

async def get_jump_history():
    link = ""
    async with starrail.Jump(link = link,banner = 1,lang = "en") as hist:
        async for key in hist.get_history():
            for info in key:
                print(f'[{info.type}] Name: {info.name} ({info.rank}*) - {info.time.strftime("%d.%m.%Y %H:%M:%S")}')


asyncio.run(get_jump_history())

In developing:

  1. Automatic code redemption.
  2. Automatic collection of daily marks on HoYoLab.

Metadata

Release files for honkaistarrail 0.0.8

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for honkaistarrail 0.0.8
File Size Uploaded
honkaistarrail-0.0.8.tar.gz 16.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for honkaistarrail 0.0.8
File Interpreter ABI Platform
honkaistarrail-0.0.8-py3-none-any.whl Python 3 none any Details

Total release size: 29.9 kB

Release files / honkaistarrail-0.0.8.tar.gz

Download URL honkaistarrail-0.0.8.tar.gz
Size 16.4 kB
Tags Source
SHA-256 checksum
How to use checksums
5805c416c635fbc66d0f641ac235d6a0dd2e582b0cea321314b919bbbbe4937d
BLAKE2b-256 checksum
How to use checksums
93c3259c0571f2fa0bd9e1e9937ddb03f3ced232e7fcf076e15b349d0fb0ec6c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.2.2 CPython/3.9.11 Windows/10

Release files / honkaistarrail-0.0.8-py3-none-any.whl

Download URL honkaistarrail-0.0.8-py3-none-any.whl
Size 13.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a1d1e4188208dfb892806cc9dfa7d151c9559baf1b64cefe5261727e24492647
BLAKE2b-256 checksum
How to use checksums
ed48ababa69171e84cf5df5bf5217b818ef7a1bdbe267a3965d7fb5758e80e9b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.2.2 CPython/3.9.11 Windows/10

Release history Release notifications | RSS feed

This release

0.0.8 This release

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page