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

Method query_new_year_templates

tianyi.py:336–345  ·  view source on GitHub ↗
(self, page_no: int = 1, page_size: int = 500)

Source from the content-addressed store, hash-verified

334 return self.request_encrypted("/hapi/activity/au/get_act_lottery_times", params)
335
336 def query_new_year_templates(self, page_no: int = 1, page_size: int = 500) -> dict:
337 params = {
338 "pageNo": page_no,
339 "pageSize": page_size,
340 "activityId": "0090_2",
341 "apiName": "diy/DiyVideoApi/queryActRecommendTemplateList",
342 "channelId": CHANNEL_ID,
343 "portal": "45"
344 }
345 return self.request_plain("/hapi/de/api", params)
346
347 def make_new_year_video(self, mobile: str, template_data: dict) -> dict:
348

Callers 1

process_new_year_lotteryFunction · 0.95

Calls 1

request_plainMethod · 0.95

Tested by

no test coverage detected