Skip to content
Deviant edited this page Jul 12, 2024 · 14 revisions

Navigation:

ClientWuWa:

ClientWuWa - Main Class

Argument:

  • assets - Save generation assets to the device. | Type: bool | Default: False
  • lang - Set the language in which you want to receive information | Type: str | Default: en

Method get_gacha_info():

A method that allows you to calculate your history and generate a gacha card

Argument:

  • link - Story Log Link | Type: str
  • gacha_id - Id gacha_id from 1 to 7 Example | Type: Union[int,str] | Default: None
  • lang - The language in which to return the result Example | Type: str | Default: en
  • generator - Generate a card or not | Type: bool | Default: False
  • art - Link to custom image, if empty will be selected from the standard ones. | Type: str | Default: None

Method get_event_info():

A method that allows you to calculate your history and generate a gacha card

Argument:

  • generator - Generate a card or not | Type: bool | Default: False

Method get_business_card():

Method to create a player's business card

Argument:

  • resonator - Resonator (character) IDs as a list | Type: list | Default: []
  • uid - User ID in game | Type: int or str | Default: None
  • resonator_art - Dictionary where the key is the ID of the resonators and the value is a link to the image. Sets custom images | Type: dict | Default: None
  • nickname - User Name | Type: str | Default: "User Name"
  • play_style - Player's playing style | Type: str | Dafault: random.choice(_PLAY_STYLE)
  • level - User Level | Type: int | Default: 1
  • screenshot - Link to additional image in the Best Screenshot window | Type: str | Default: None
  • signature - Player signature | Type: str | Default: None
  • config - A dictionary containing the above arguments, you can only pass it | Type: dict | Default: {}

Method get_material():

Method for creating weapon and character elevation material cards

Argument:

Method get_wiki():

Method for creating weapon and character information cards

Argument:

  • id - Character and Weapon ID

SUPPOR LANG:

de, en, es, fr, id, ja, ko, pt, th, zh-Hans