Metadata-Version: 2.4
Name: hzclient
Version: 0.2.8
Summary: A client library for interacting with the HeroZero game API
Author: Curvu
Project-URL: Homepage, https://github.com/HZPilot/hzclient
Requires-Python: >=3.10
Description-Content-Type: text/markdown
Requires-Dist: pydantic>=2.12.4
Requires-Dist: curl-cffi>=0.13.0
Requires-Dist: jsonmerge>=1.9.2
Requires-Dist: jsonschema<4.18
Requires-Dist: six>=1.17.0
Requires-Dist: websocket-client>=1.9.0

# hzclient

Simple Python client for Hero Zero game API.

## Usage

```python
from hzclient import GameState, Client, Config

state = GameState()
client = Client(
  config=Config(
    server_id="pl1",
    email="testuser@example.com",
    password="testpass"
  ),
  state=state
)

client.login()

print(state.character.name) # Name of your character

client.call("someAPIMethod", {"param1": "value1"}) # Call any API method, handles session automatically
```

## Features

- No documentation available.
  - Read the `hzclient/state.py` file to see available attributes in `GameState`.
  - Read the `hzclient/client.py` file to see available methods in `Client`.
