(self, mobile: str, cost_value: float, activity_id: str = "1611")
| 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 | |
| 438 | def process_new_year_lottery(phone: str, password: str, account_idx: int = 0, total_accounts: int = 0): |
no test coverage detected