lazyad 0.0.14__tar.gz → 0.0.15__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of lazyad might be problematic. Click here for more details.
- {lazyad-0.0.14 → lazyad-0.0.15}/PKG-INFO +1 -1
- {lazyad-0.0.14 → lazyad-0.0.15}/lazyad/crawlers/qq.py +9 -4
- {lazyad-0.0.14 → lazyad-0.0.15}/lazyad.egg-info/PKG-INFO +1 -1
- {lazyad-0.0.14 → lazyad-0.0.15}/setup.py +1 -1
- {lazyad-0.0.14 → lazyad-0.0.15}/README.md +0 -0
- {lazyad-0.0.14 → lazyad-0.0.15}/lazyad/__init__.py +0 -0
- {lazyad-0.0.14 → lazyad-0.0.15}/lazyad/crawlers/__init__.py +0 -0
- {lazyad-0.0.14 → lazyad-0.0.15}/lazyad/crawlers/chuangliang.py +0 -0
- {lazyad-0.0.14 → lazyad-0.0.15}/lazyad/crawlers/oceanengine.py +0 -0
- {lazyad-0.0.14 → lazyad-0.0.15}/lazyad/open/__init__.py +0 -0
- {lazyad-0.0.14 → lazyad-0.0.15}/lazyad/open/qq.py +0 -0
- {lazyad-0.0.14 → lazyad-0.0.15}/lazyad.egg-info/SOURCES.txt +0 -0
- {lazyad-0.0.14 → lazyad-0.0.15}/lazyad.egg-info/dependency_links.txt +0 -0
- {lazyad-0.0.14 → lazyad-0.0.15}/lazyad.egg-info/requires.txt +0 -0
- {lazyad-0.0.14 → lazyad-0.0.15}/lazyad.egg-info/top_level.txt +0 -0
- {lazyad-0.0.14 → lazyad-0.0.15}/setup.cfg +0 -0
|
@@ -30,7 +30,10 @@ def new_account_list(
|
|
|
30
30
|
page: int = 1,
|
|
31
31
|
page_size: int = 20,
|
|
32
32
|
account_id: int = None, # 支持按户id搜索
|
|
33
|
-
account_status: int = 1
|
|
33
|
+
account_status: int = 1,
|
|
34
|
+
sort_seq: str = None,
|
|
35
|
+
sort_field: str = None,
|
|
36
|
+
platform_type: int = 1
|
|
34
37
|
):
|
|
35
38
|
"""
|
|
36
39
|
概览-账户 页面按照消耗降序排序的数据
|
|
@@ -60,8 +63,6 @@ def new_account_list(
|
|
|
60
63
|
data = {
|
|
61
64
|
"new_source": 1,
|
|
62
65
|
"user_id": user_id,
|
|
63
|
-
"sort_seq": "desc", # 降序排序,会自动过滤0数据
|
|
64
|
-
"sort_field": "cost", # 按照消耗排序
|
|
65
66
|
"page": page,
|
|
66
67
|
"page_size": page_size,
|
|
67
68
|
"need_sync": True,
|
|
@@ -81,12 +82,16 @@ def new_account_list(
|
|
|
81
82
|
"start_date_millons": lazytime.get_date2timestamp(date=start_date) * 1000, # 开始时间的时间戳
|
|
82
83
|
"end_date_millons": lazytime.get_date2timestamp(date=end_date) * 1000, # 结束时间的时间戳
|
|
83
84
|
"account_status": account_status,
|
|
84
|
-
"platform_type":
|
|
85
|
+
"platform_type": platform_type,
|
|
85
86
|
"use_top_sort": True,
|
|
86
87
|
"filter_empty_data": 0
|
|
87
88
|
}
|
|
88
89
|
if account_id:
|
|
89
90
|
data["account_id"] = [account_id]
|
|
91
|
+
if sort_seq:
|
|
92
|
+
data["sort_seq"] = sort_seq # desc:降序排序,会自动过滤0数据
|
|
93
|
+
if sort_field:
|
|
94
|
+
data["sort_field"] = sort_field # cost:按照消耗排序
|
|
90
95
|
return lazyrequests.lazy_requests(
|
|
91
96
|
method="POST",
|
|
92
97
|
url=url,
|
|
@@ -13,7 +13,7 @@ with open("README.md", "r", encoding='utf-8') as fh:
|
|
|
13
13
|
|
|
14
14
|
setuptools.setup(
|
|
15
15
|
name="lazyad",
|
|
16
|
-
version="0.0.
|
|
16
|
+
version="0.0.15",
|
|
17
17
|
description="基于Python的懒人包-适用于广告投放模块",
|
|
18
18
|
long_description=long_description,
|
|
19
19
|
long_description_content_type="text/markdown",
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|