A client library for interacting with the HeroZero game API
Project description
hzclient
Simple Python client for Hero Zero game API.
Usage
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.pyfile to see available attributes inGameState. - Read the
hzclient/client.pyfile to see available methods inClient.
- Read the
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
hzclient-0.3.8.tar.gz
(34.5 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
hzclient-0.3.8-py3-none-any.whl
(43.0 kB
view details)
File details
Details for the file hzclient-0.3.8.tar.gz.
File metadata
- Download URL: hzclient-0.3.8.tar.gz
- Upload date:
- Size: 34.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.9.16 {"installer":{"name":"uv","version":"0.9.16","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2186591e7bc22ecdd073880bea788247fdec792cc9970533d39245a06da11a67
|
|
| MD5 |
e98512864b1505f0996a8c4fd28607fa
|
|
| BLAKE2b-256 |
335f11d639ff7d6a3260194d44819fb91ddc3fd4ce2f14b0778ad392ac151c80
|
File details
Details for the file hzclient-0.3.8-py3-none-any.whl.
File metadata
- Download URL: hzclient-0.3.8-py3-none-any.whl
- Upload date:
- Size: 43.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.9.16 {"installer":{"name":"uv","version":"0.9.16","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1fee4ad1f9f1d2698b3aacc643b40343ede295f85c87dffc3d57a7ffe3a1bcbc
|
|
| MD5 |
e9e696a0f1a1a8981edfa6715fa1ce20
|
|
| BLAKE2b-256 |
2f5307e2de1cf31c1634ac06fe76ebb030a6407b960e39edc0406d7c5aedd61c
|