lazyad 0.0.70__tar.gz → 0.0.71__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.70
3
+ Version: 0.0.71
4
4
  Summary: 基于Python的懒人包-适用于广告投放模块
5
5
  Home-page: https://gitee.com/ZeroSeeker/lazyad
6
6
  Author: ZeroSeeker
@@ -0,0 +1,31 @@
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
+ )
15
+
16
+
17
+ def campaign_targets(
18
+ token: str,
19
+ campaign_id: str
20
+ ):
21
+ """
22
+ 获取所有的campaign的目标信息
23
+ """
24
+ url = f"https://o.applovin.com/campaign_management/v1/campaign_targets/{campaign_id}"
25
+ return lazyrequests.lazy_requests(
26
+ method="GET",
27
+ url=url,
28
+ headers={"Authorization": token},
29
+ timeout=60
30
+ )
31
+
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: lazyad
3
- Version: 0.0.70
3
+ Version: 0.0.71
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.70",
16
+ version="0.0.71",
17
17
  description="基于Python的懒人包-适用于广告投放模块",
18
18
  long_description=long_description,
19
19
  long_description_content_type="text/markdown",
@@ -1,14 +0,0 @@
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
- )
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes