anilibria-api-client 0.1.6__py3-none-any.whl → 0.1.8__py3-none-any.whl
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.
- anilibria_api_client/__init__.py +29 -5
- anilibria_api_client/api_client.py +58 -57
- anilibria_api_client/base_api/api_class.py +283 -283
- anilibria_api_client/exceptions.py +6 -4
- anilibria_api_client/helper.py +100 -93
- anilibria_api_client/methods/__init__.py +5 -5
- anilibria_api_client/methods/_helper.py +225 -217
- anilibria_api_client/methods/_libria.py +9 -9
- anilibria_api_client/methods/accounts.py +348 -347
- anilibria_api_client/methods/ads.py +22 -22
- anilibria_api_client/methods/anime.py +669 -669
- anilibria_api_client/methods/app.py +33 -33
- anilibria_api_client/methods/media.py +44 -44
- anilibria_api_client/methods/teams.py +60 -60
- anilibria_api_client/models.py +63 -54
- anilibria_api_client/types.py +55 -55
- {anilibria_api_client-0.1.6.dist-info → anilibria_api_client-0.1.8.dist-info}/METADATA +83 -70
- anilibria_api_client-0.1.8.dist-info/RECORD +21 -0
- {anilibria_api_client-0.1.6.dist-info → anilibria_api_client-0.1.8.dist-info}/licenses/LICENSE +21 -21
- anilibria_api_client-0.1.6.dist-info/RECORD +0 -21
- {anilibria_api_client-0.1.6.dist-info → anilibria_api_client-0.1.8.dist-info}/WHEEL +0 -0
- {anilibria_api_client-0.1.6.dist-info → anilibria_api_client-0.1.8.dist-info}/top_level.txt +0 -0
@@ -1,23 +1,23 @@
|
|
1
|
-
from ._libria import BaseMethod
|
2
|
-
|
3
|
-
|
4
|
-
class AdsMethod(BaseMethod):
|
5
|
-
async def vasts(
|
6
|
-
self
|
7
|
-
):
|
8
|
-
"""
|
9
|
-
Возвращает список со всеми доступными для использования VAST кампаниями
|
10
|
-
"""
|
11
|
-
return await self._api.get("/ads/vasts")
|
12
|
-
|
13
|
-
async def vasts_chain(
|
14
|
-
self
|
15
|
-
):
|
16
|
-
"""
|
17
|
-
Возвращает XML страницу со всеми доступными для использования VAST кампаниями
|
18
|
-
"""
|
19
|
-
headers = {
|
20
|
-
"Content-Type": "application/xml"
|
21
|
-
}
|
22
|
-
|
1
|
+
from ._libria import BaseMethod
|
2
|
+
|
3
|
+
|
4
|
+
class AdsMethod(BaseMethod):
|
5
|
+
async def vasts(
|
6
|
+
self
|
7
|
+
):
|
8
|
+
"""
|
9
|
+
Возвращает список со всеми доступными для использования VAST кампаниями
|
10
|
+
"""
|
11
|
+
return await self._api.get("/ads/vasts")
|
12
|
+
|
13
|
+
async def vasts_chain(
|
14
|
+
self
|
15
|
+
):
|
16
|
+
"""
|
17
|
+
Возвращает XML страницу со всеми доступными для использования VAST кампаниями
|
18
|
+
"""
|
19
|
+
headers = {
|
20
|
+
"Content-Type": "application/xml"
|
21
|
+
}
|
22
|
+
|
23
23
|
return await self._api.get("/ads/vasts/chain", headers=headers)
|