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.2.0.tar.gz
(72.0 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
simnet-0.2.0-py3-none-any.whl
(111.8 kB
view details)
File details
Details for the file simnet-0.2.0.tar.gz.
File metadata
- Download URL: simnet-0.2.0.tar.gz
- Upload date:
- Size: 72.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
71216ddfbf79aef5fbd9f1b792aeb4545f89f53d8871e53967495469e2805e33
|
|
| MD5 |
22d7ba1ab6ec67d46ea8c8b56a85c59e
|
|
| BLAKE2b-256 |
a2ca974d9fffcc12c134d706fe75015bd8d6233403c61121f1a0c9adb41e2cd7
|
File details
Details for the file simnet-0.2.0-py3-none-any.whl.
File metadata
- Download URL: simnet-0.2.0-py3-none-any.whl
- Upload date:
- Size: 111.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
df9d375305e2bd3fd3cdb3b519e20a6c00daac77e2a9b5b3d2f6e9df27e48657
|
|
| MD5 |
2019adaed7ee1554aec41f1e52247ed4
|
|
| BLAKE2b-256 |
e33346033d985fd97e1b8e2f78d93117cd675a4beac12f095c81e2c38de5b4bc
|