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.
@@ -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)