Client
zzz
Classes:
-
ZZZClient–The main client to interact with the Enka Network Zenless Zone Zero API.
ZZZClient
The main client to interact with the Enka Network Zenless Zone Zero API.
Parameters:
-
(langLanguage | str, default:ENGLISH) –The language to use for the client, defaults to Language.ENGLISH.
-
(genderGender | str, default:MALE) –The grammatical gender used for gendered localized text, defaults to Gender.MALE.
-
(headersdict[str, Any] | None, default:None) –The headers to use for the client, defaults to None.
-
(cacheBaseTTLCache | None, default:None) –The cache to use for the client, defaults to None.
-
(timeoutint, default:DEFAULT_TIMEOUT) –The timeout for the client, defaults to DEFAULT_TIMEOUT.
Methods:
-
fetch_builds–Fetch the character builds of the given owner.
-
fetch_showcase–Fetch the player showcase of the given UID.
-
parse_showcase–Parse the given showcase data.
-
start– -
update_assets–Update game assets.
Attributes:
fetch_builds
async
fetch_showcase
async
parse_showcase
parse_showcase(data: dict[str, Any]) -> ShowcaseResponse
Parse the given showcase data.
Parameters:
Returns:
-
ShowcaseResponse–The parsed showcase response.