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.

@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: lazyad
3
- Version: 0.0.49
3
+ Version: 0.0.50
4
4
  Summary: 基于Python的懒人包-适用于广告投放模块
5
5
  Home-page: https://gitee.com/ZeroSeeker/lazyad
6
6
  Author: ZeroSeeker
@@ -280,8 +280,18 @@ def reports(
280
280
  d7LevelCompleteRate
281
281
  d14LevelCompleteRate
282
282
  :param breakdowns:
283
- app,campaign,country,creativePack,
284
- creativePackType,osVersion,platform,sourceAppId,store,targetGame,eventType,eventName
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
- response = lazyrequests.lazy_requests(
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
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: lazyad
3
- Version: 0.0.49
3
+ Version: 0.0.50
4
4
  Summary: 基于Python的懒人包-适用于广告投放模块
5
5
  Home-page: https://gitee.com/ZeroSeeker/lazyad
6
6
  Author: ZeroSeeker
@@ -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.49",
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