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:
- Automatic code redemption.
- 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)
| File | Size | Uploaded | |
|---|---|---|---|
| honkaistarrail-0.0.8.tar.gz | 16.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| 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
|