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

Method query_red_packet_balance

tianyi.py:420–426  ·  view source on GitHub ↗
(self, mobile: str, activity_id: str = "1611")

Source from the content-addressed store, hash-verified

418 return self.request_encrypted("/hapi/en/api", params)
419
420 def query_red_packet_balance(self, mobile: str, activity_id: str = "1611") -> dict:
421 params = {
422 "apiName": "act/ActApi/doubleEggCostRedeemInfo",
423 "mobile": mobile,
424 "activityId": activity_id
425 }
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 = {

Callers 1

process_new_year_lotteryFunction · 0.95

Calls 1

request_encryptedMethod · 0.95

Tested by

no test coverage detected