lazyad 0.0.75__tar.gz → 0.0.76__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.75
3
+ Version: 0.0.76
4
4
  Summary: 基于Python的懒人包-适用于广告投放模块
5
5
  Home-page: https://gitee.com/ZeroSeeker/lazyad
6
6
  Author: ZeroSeeker
@@ -1366,3 +1366,39 @@ def Project_getList(
1366
1366
  json=data,
1367
1367
  headers=headers
1368
1368
  )
1369
+
1370
+
1371
+ def Project_updateStatus(
1372
+ cookie: str,
1373
+ opt_status: str,
1374
+ project_ids: list = None,
1375
+ time: str = None,
1376
+
1377
+ scheme: str = "https",
1378
+ host: str = default_host,
1379
+ filename: str = "/Toutiao/Project/updateStatus"
1380
+ ):
1381
+ """
1382
+ 推广-广告管理-项目 操作
1383
+ :param cookie:
1384
+ :param start_date: 数据开始日期
1385
+ :param end_date: 数据结束日期
1386
+ :return:
1387
+ """
1388
+ url = f"{scheme}://{host}{filename}"
1389
+
1390
+ data = dict()
1391
+ if opt_status:
1392
+ data["opt_status"] = opt_status
1393
+ if project_ids:
1394
+ data["project_ids"] = project_ids
1395
+ if time:
1396
+ data["time"] = time
1397
+ headers = copy.deepcopy(default_headers)
1398
+ headers["Cookie"] = cookie
1399
+ return lazyrequests.lazy_requests(
1400
+ method="POST",
1401
+ url=url,
1402
+ json=data,
1403
+ headers=headers
1404
+ )
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: lazyad
3
- Version: 0.0.75
3
+ Version: 0.0.76
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.75",
16
+ version="0.0.76",
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