lazyad 0.0.51__tar.gz → 0.0.52__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.51 → lazyad-0.0.52}/PKG-INFO +1 -1
- {lazyad-0.0.51 → lazyad-0.0.52}/lazyad/open/mintegral.py +22 -0
- {lazyad-0.0.51 → lazyad-0.0.52}/lazyad.egg-info/PKG-INFO +1 -1
- {lazyad-0.0.51 → lazyad-0.0.52}/setup.py +1 -1
- {lazyad-0.0.51 → lazyad-0.0.52}/README.md +0 -0
- {lazyad-0.0.51 → lazyad-0.0.52}/lazyad/__init__.py +0 -0
- {lazyad-0.0.51 → lazyad-0.0.52}/lazyad/crawlers/__init__.py +0 -0
- {lazyad-0.0.51 → lazyad-0.0.52}/lazyad/crawlers/chuangliang.py +0 -0
- {lazyad-0.0.51 → lazyad-0.0.52}/lazyad/crawlers/mintegral.py +0 -0
- {lazyad-0.0.51 → lazyad-0.0.52}/lazyad/crawlers/oceanengine.py +0 -0
- {lazyad-0.0.51 → lazyad-0.0.52}/lazyad/crawlers/qq.py +0 -0
- {lazyad-0.0.51 → lazyad-0.0.52}/lazyad/open/__init__.py +0 -0
- {lazyad-0.0.51 → lazyad-0.0.52}/lazyad/open/qq.py +0 -0
- {lazyad-0.0.51 → lazyad-0.0.52}/lazyad/open/unity.py +0 -0
- {lazyad-0.0.51 → lazyad-0.0.52}/lazyad.egg-info/SOURCES.txt +0 -0
- {lazyad-0.0.51 → lazyad-0.0.52}/lazyad.egg-info/dependency_links.txt +0 -0
- {lazyad-0.0.51 → lazyad-0.0.52}/lazyad.egg-info/requires.txt +0 -0
- {lazyad-0.0.51 → lazyad-0.0.52}/lazyad.egg-info/top_level.txt +0 -0
- {lazyad-0.0.51 → lazyad-0.0.52}/setup.cfg +0 -0
|
@@ -376,3 +376,25 @@ def get_campaign(
|
|
|
376
376
|
params=params
|
|
377
377
|
)
|
|
378
378
|
|
|
379
|
+
|
|
380
|
+
def get_account_balance(
|
|
381
|
+
api_key: str,
|
|
382
|
+
access_key: str,
|
|
383
|
+
):
|
|
384
|
+
"""
|
|
385
|
+
获取账户余额(含有账户id信息)
|
|
386
|
+
https://adv.mintegral.com/doc/cn/guide/account/getAccountBalance.html
|
|
387
|
+
:param api_key:
|
|
388
|
+
:param access_key:
|
|
389
|
+
:return:
|
|
390
|
+
"""
|
|
391
|
+
token_info = make_token(api_key=api_key)
|
|
392
|
+
params = {"access-key": access_key}
|
|
393
|
+
params.update(token_info)
|
|
394
|
+
url = "https://ss-api.mintegral.com/api/open/v1/account/balance"
|
|
395
|
+
return lazyrequests.lazy_requests(
|
|
396
|
+
method="GET",
|
|
397
|
+
url=url,
|
|
398
|
+
params=params
|
|
399
|
+
)
|
|
400
|
+
|
|
@@ -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.52",
|
|
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
|