API Reference
zzz
Classes:
-
ZZZClient–Client to interact with the Hakushin Zenless Zone Zero API.
ZZZClient
Client to interact with the Hakushin Zenless Zone Zero API.
Methods:
-
fetch_bangboo_detail–Fetch the details of a Zenless Zone Zero bangboo.
-
fetch_bangboos–Fetch all Zenless Zone Zero bangboos.
-
fetch_character_detail–Fetch the details of a Zenless Zone Zero character.
-
fetch_characters–Fetch all Zenless Zone Zero characters.
-
fetch_drive_disc_detail–Fetch the details of a Zenless Zone Zero drive disc.
-
fetch_drive_discs–Fetch all Zenless Zone Zero drive discs.
-
fetch_items–Fetch all Zenless Zone Zero items.
-
fetch_weapon_detail–Fetch the details of a Zenless Zone Zero weapon.
-
fetch_weapons–Fetch all Zenless Zone Zero weapons (w-engines).
fetch_bangboo_detail
async
fetch_bangboo_detail(
bangboo_id: int, *, use_cache: bool = True
) -> BangbooDetail
Fetch the details of a Zenless Zone Zero bangboo.
Parameters:
-
(bangboo_idint) –The bangboo ID.
-
(use_cachebool, default:True) –Whether to use the response cache.
Returns:
-
BangbooDetail–The bangboo details object.
fetch_bangboos
async
fetch_character_detail
async
fetch_character_detail(
character_id: int,
*,
version: str | None = None,
use_cache: bool = True,
) -> CharacterDetail
Fetch the details of a Zenless Zone Zero character.
Parameters:
-
(character_idint) –The character ID.
-
(versionstr | None, default:None) –The game version to fetch data for.
-
(use_cachebool, default:True) –Whether to use the response cache.
Returns:
-
CharacterDetail–The character details object.
fetch_characters
async
fetch_drive_disc_detail
async
fetch_drive_disc_detail(
drive_disc_id: int, *, use_cache: bool = True
) -> DriveDiscDetail
Fetch the details of a Zenless Zone Zero drive disc.
Parameters:
-
(drive_disc_idint) –The drive disc ID.
-
(use_cachebool, default:True) –Whether to use the response cache.
Returns:
-
DriveDiscDetail–The drive disc details object.
fetch_drive_discs
async
fetch_items
async
fetch_weapon_detail
async
fetch_weapon_detail(
weapon_id: int, *, use_cache: bool = True
) -> WeaponDetail
Fetch the details of a Zenless Zone Zero weapon.
Parameters:
-
(weapon_idint) –The weapon ID.
-
(use_cachebool, default:True) –Whether to use the response cache.
Returns:
-
WeaponDetail–The weapon details object.