Metadata-Version: 2.4
Name: hzclient
Version: 0.1.2
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.0
Requires-Dist: curl_cffi>=0.13.0
Requires-Dist: jsonmerge>=1.9.2
Requires-Dist: jsonschema<4.18
Requires-Dist: requests>=2.32.5

# hzclient

Simple Python client for Hero Zero game API.

## Usage

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

state = GameState()
session = Session(Config(server_id=config.client.server_id))
client = Client(session=session, state=state)

client.login(email="your_email", password="your_password")

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`.
