Modern API wrapper for Genshin Impact & Honkai: Star Rail built on asyncio and pydantic.
Project description
Semi-Intransient Matrix Network
Modern API wrapper for Genshin Impact & Honkai: Star Rail built on asyncio and pydantic.
Requirements
- Python 3.8+
- httpx
- Pydantic
Example
A very simple example of how SIMNet would be used:
import asyncio
import simnet
async def main():
cookies = {} # write your cookies
player_id = 123456789
async with simnet.StarRailClient(cookies, player_id=player_id) as client:
data = await client.get_starrail_user()
print(f"Player has a total of {data.stats.avatar_num} characters")
asyncio.run(main())
Credits
- genshin.py: fork source
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
simnet-0.1.23.tar.gz
(65.5 kB
view details)
Built Distribution
simnet-0.1.23-py3-none-any.whl
(103.3 kB
view details)
File details
Details for the file simnet-0.1.23.tar.gz
.
File metadata
- Download URL: simnet-0.1.23.tar.gz
- Upload date:
- Size: 65.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 336b94bc6fd18ce06be8f5c00c9c5f8504c1671950c0beb4ae9d4db6010b1aeb |
|
MD5 | 42b101adf741845a49e1129db640f355 |
|
BLAKE2b-256 | dad3a2c18e238523d6a7a8776b695e6dea36d0fe88e68582d420853f694fa062 |
File details
Details for the file simnet-0.1.23-py3-none-any.whl
.
File metadata
- Download URL: simnet-0.1.23-py3-none-any.whl
- Upload date:
- Size: 103.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 839627cff635ea839ba7d78c2cf597ce6c6aed8d1d1aa5b99e56baf6a6b00287 |
|
MD5 | d80e9fbc6d34c686d25f0a8997925547 |
|
BLAKE2b-256 | eaba66dc7b603bf2d506454bcf7f0366af75e8cbaaff9737df17cd73fafe06fe |