lazyad 0.0.68__tar.gz → 0.0.70__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.68 → lazyad-0.0.70}/PKG-INFO +1 -1
- {lazyad-0.0.68 → lazyad-0.0.70}/lazyad/crawlers/mintegral.py +11 -5
- lazyad-0.0.70/lazyad/open/applovin.py +14 -0
- {lazyad-0.0.68 → lazyad-0.0.70}/lazyad.egg-info/PKG-INFO +1 -1
- {lazyad-0.0.68 → lazyad-0.0.70}/lazyad.egg-info/SOURCES.txt +1 -0
- {lazyad-0.0.68 → lazyad-0.0.70}/setup.py +1 -1
- {lazyad-0.0.68 → lazyad-0.0.70}/README.md +0 -0
- {lazyad-0.0.68 → lazyad-0.0.70}/lazyad/__init__.py +0 -0
- {lazyad-0.0.68 → lazyad-0.0.70}/lazyad/crawlers/__init__.py +0 -0
- {lazyad-0.0.68 → lazyad-0.0.70}/lazyad/crawlers/chuangliang.py +0 -0
- {lazyad-0.0.68 → lazyad-0.0.70}/lazyad/crawlers/oceanengine.py +0 -0
- {lazyad-0.0.68 → lazyad-0.0.70}/lazyad/crawlers/qq.py +0 -0
- {lazyad-0.0.68 → lazyad-0.0.70}/lazyad/crawlers/wshoto.py +0 -0
- {lazyad-0.0.68 → lazyad-0.0.70}/lazyad/open/__init__.py +0 -0
- {lazyad-0.0.68 → lazyad-0.0.70}/lazyad/open/kuaishou.py +0 -0
- {lazyad-0.0.68 → lazyad-0.0.70}/lazyad/open/mintegral.py +0 -0
- {lazyad-0.0.68 → lazyad-0.0.70}/lazyad/open/qq.py +0 -0
- {lazyad-0.0.68 → lazyad-0.0.70}/lazyad/open/unity.py +0 -0
- {lazyad-0.0.68 → lazyad-0.0.70}/lazyad.egg-info/dependency_links.txt +0 -0
- {lazyad-0.0.68 → lazyad-0.0.70}/lazyad.egg-info/requires.txt +0 -0
- {lazyad-0.0.68 → lazyad-0.0.70}/lazyad.egg-info/top_level.txt +0 -0
- {lazyad-0.0.68 → lazyad-0.0.70}/setup.cfg +0 -0
|
@@ -325,19 +325,25 @@ def history(
|
|
|
325
325
|
cookie: str,
|
|
326
326
|
page: int = 1,
|
|
327
327
|
page_size: int = 50,
|
|
328
|
-
|
|
329
|
-
start_time: str = None,
|
|
330
|
-
end_time: str = None,
|
|
331
|
-
objective_type: str = "adv_offer",
|
|
328
|
+
objective_type: str = "",
|
|
332
329
|
objective: list = None,
|
|
333
330
|
operator: list = None,
|
|
334
331
|
operation: list = None,
|
|
335
|
-
feature: list = None
|
|
332
|
+
feature: list = None,
|
|
333
|
+
|
|
334
|
+
start_time: str = None,
|
|
335
|
+
end_time: str = None,
|
|
336
|
+
timezone: int = 8,
|
|
336
337
|
):
|
|
337
338
|
"""
|
|
338
339
|
获取 操作日志
|
|
340
|
+
注意:开始时间和结束时间如果为相同时间则无法获取数据
|
|
339
341
|
需要登录:{'code': 400, 'msg': 'Please login first', 'data': None}
|
|
340
342
|
验证成功:{'code': 200, 'msg': 'success', 'data': {}
|
|
343
|
+
:param timezone: 时区,默认:UTC+8:8
|
|
344
|
+
:param start_time: 开始时间,默认:days=-7,例如:2025-08-05 00:00:00
|
|
345
|
+
:param end_time: 结束时间,默认:days=1,例如:2025-08-05 00:00:00
|
|
346
|
+
:param objective_type: 查询类型,全部:"",广告:adv_campaign,广告单元:adv_offer
|
|
341
347
|
"""
|
|
342
348
|
scheme = "https"
|
|
343
349
|
host = "ss-api.mintegral.com"
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
from lazysdk import lazyrequests
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
def campaigns(token: str):
|
|
5
|
+
"""
|
|
6
|
+
获取所有的campaign
|
|
7
|
+
"""
|
|
8
|
+
url = "https://o.applovin.com/campaign_management/v1/campaigns"
|
|
9
|
+
return lazyrequests.lazy_requests(
|
|
10
|
+
method="GET",
|
|
11
|
+
url=url,
|
|
12
|
+
headers={"Authorization": token},
|
|
13
|
+
timeout=60
|
|
14
|
+
)
|
|
@@ -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.70",
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|