Skip to main content

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

Project details


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.24.tar.gz (71.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

simnet-0.1.24-py3-none-any.whl (111.3 kB view details)

Uploaded Python 3

File details

Details for the file simnet-0.1.24.tar.gz.

File metadata

  • Download URL: simnet-0.1.24.tar.gz
  • Upload date:
  • Size: 71.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.10

File hashes

Hashes for simnet-0.1.24.tar.gz
Algorithm Hash digest
SHA256 9a218a08336e35377408301f3375f9f82de47ac3ad434f8bc01693b69b676e36
MD5 b6e5c668d0ea2cd0482d8d9a350538a7
BLAKE2b-256 b462e9ee1e5807dc0da801f5cd71f8aada9c5b5a5a2d32c5e6ef96ba0681ea7d

See more details on using hashes here.

File details

Details for the file simnet-0.1.24-py3-none-any.whl.

File metadata

  • Download URL: simnet-0.1.24-py3-none-any.whl
  • Upload date:
  • Size: 111.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.10

File hashes

Hashes for simnet-0.1.24-py3-none-any.whl
Algorithm Hash digest
SHA256 86e7cbc1c3fd3e624d6189112634d0c0bdacfa9cda5c7237e9c9d7578191f52c
MD5 010277c00aa3f40074f515cea429fb47
BLAKE2b-256 ba8058870aae834cc38d0e1990679ff12f06e6955794bda89f89bbc87505b88b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page