MCPcopy
hub / github.com/smallfawn/QLScriptPublic / redeem_red_packet

Method redeem_red_packet

tianyi.py:428–435  ·  view source on GitHub ↗
(self, mobile: str, cost_value: float, activity_id: str = "1611")

Source from the content-addressed store, hash-verified

426 return self.request_encrypted("/hapi/en/api", params)
427
428 def redeem_red_packet(self, mobile: str, cost_value: float, activity_id: str = "1611") -> dict:
429 params = {
430 "apiName": "act/ActApi/doubleEggCostRedeem",
431 "mobile": mobile,
432 "activityId": activity_id,
433 "costValue": cost_value
434 }
435 return self.request_encrypted("/hapi/en/api", params)
436
437
438def process_new_year_lottery(phone: str, password: str, account_idx: int = 0, total_accounts: int = 0):

Callers 1

process_new_year_lotteryFunction · 0.95

Calls 1

request_encryptedMethod · 0.95

Tested by

no test coverage detected