lazyad 0.0.49__tar.gz → 0.0.50__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.49 → lazyad-0.0.50}/PKG-INFO +1 -1
- {lazyad-0.0.49 → lazyad-0.0.50}/lazyad/open/unity.py +13 -10
- {lazyad-0.0.49 → lazyad-0.0.50}/lazyad.egg-info/PKG-INFO +1 -1
- {lazyad-0.0.49 → lazyad-0.0.50}/setup.py +1 -1
- {lazyad-0.0.49 → lazyad-0.0.50}/README.md +0 -0
- {lazyad-0.0.49 → lazyad-0.0.50}/lazyad/__init__.py +0 -0
- {lazyad-0.0.49 → lazyad-0.0.50}/lazyad/crawlers/__init__.py +0 -0
- {lazyad-0.0.49 → lazyad-0.0.50}/lazyad/crawlers/chuangliang.py +0 -0
- {lazyad-0.0.49 → lazyad-0.0.50}/lazyad/crawlers/mintegral.py +0 -0
- {lazyad-0.0.49 → lazyad-0.0.50}/lazyad/crawlers/oceanengine.py +0 -0
- {lazyad-0.0.49 → lazyad-0.0.50}/lazyad/crawlers/qq.py +0 -0
- {lazyad-0.0.49 → lazyad-0.0.50}/lazyad/open/__init__.py +0 -0
- {lazyad-0.0.49 → lazyad-0.0.50}/lazyad/open/mintegral.py +0 -0
- {lazyad-0.0.49 → lazyad-0.0.50}/lazyad/open/qq.py +0 -0
- {lazyad-0.0.49 → lazyad-0.0.50}/lazyad.egg-info/SOURCES.txt +0 -0
- {lazyad-0.0.49 → lazyad-0.0.50}/lazyad.egg-info/dependency_links.txt +0 -0
- {lazyad-0.0.49 → lazyad-0.0.50}/lazyad.egg-info/requires.txt +0 -0
- {lazyad-0.0.49 → lazyad-0.0.50}/lazyad.egg-info/top_level.txt +0 -0
- {lazyad-0.0.49 → lazyad-0.0.50}/setup.cfg +0 -0
|
@@ -280,8 +280,18 @@ def reports(
|
|
|
280
280
|
d7LevelCompleteRate
|
|
281
281
|
d14LevelCompleteRate
|
|
282
282
|
:param breakdowns:
|
|
283
|
-
app,
|
|
284
|
-
|
|
283
|
+
app,
|
|
284
|
+
campaign,
|
|
285
|
+
country,
|
|
286
|
+
creativePack,
|
|
287
|
+
creativePackType,
|
|
288
|
+
osVersion,
|
|
289
|
+
platform,
|
|
290
|
+
sourceAppId,
|
|
291
|
+
store,
|
|
292
|
+
targetGame,
|
|
293
|
+
eventType,
|
|
294
|
+
eventName
|
|
285
295
|
:return:
|
|
286
296
|
"""
|
|
287
297
|
authorization = f"Basic {keyid}:{secret_key}"
|
|
@@ -306,16 +316,9 @@ def reports(
|
|
|
306
316
|
params["end"] = end
|
|
307
317
|
|
|
308
318
|
headers = {"Authorization": authorization}
|
|
309
|
-
|
|
319
|
+
return lazyrequests.lazy_requests(
|
|
310
320
|
method="GET",
|
|
311
321
|
url=url,
|
|
312
322
|
params=params,
|
|
313
323
|
headers=headers
|
|
314
324
|
)
|
|
315
|
-
|
|
316
|
-
status = response.get("status")
|
|
317
|
-
if status is None:
|
|
318
|
-
data = response.get("data")
|
|
319
|
-
return data
|
|
320
|
-
else:
|
|
321
|
-
return response
|
|
@@ -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.50",
|
|
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
|