ecapi-sdk 3.5.2__tar.gz → 3.5.3__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ecapi-sdk
3
- Version: 3.5.2
3
+ Version: 3.5.3
4
4
  Summary: ECAPI SDK for Python
5
5
  Author: EaseCation
6
6
  License: MIT
@@ -18,7 +18,7 @@ Description-Content-Type: text/markdown
18
18
 
19
19
  # ecapi-sdk (Python)
20
20
 
21
- ECAPI 的 Python SDK,面向当前重构后的 REST/OpenAPI 契约。当前门面由 `openapi.json` 生成并覆盖全部 160 个接口,并随包提供 `py.typed` 与 `client.pyi`,方便 IDE 显示参数、必填字段和 docstring。
21
+ ECAPI 的 Python SDK,面向当前重构后的 REST/OpenAPI 契约。当前门面由 `openapi.json` 生成并覆盖其中的全部接口,并随包提供 `py.typed` 与 `client.pyi`,方便 IDE 显示参数、必填字段和 docstring。
22
22
 
23
23
  ## 安装
24
24
 
@@ -1,6 +1,6 @@
1
1
  # ecapi-sdk (Python)
2
2
 
3
- ECAPI 的 Python SDK,面向当前重构后的 REST/OpenAPI 契约。当前门面由 `openapi.json` 生成并覆盖全部 160 个接口,并随包提供 `py.typed` 与 `client.pyi`,方便 IDE 显示参数、必填字段和 docstring。
3
+ ECAPI 的 Python SDK,面向当前重构后的 REST/OpenAPI 契约。当前门面由 `openapi.json` 生成并覆盖其中的全部接口,并随包提供 `py.typed` 与 `client.pyi`,方便 IDE 显示参数、必填字段和 docstring。
4
4
 
5
5
  ## 安装
6
6
 
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "ecapi-sdk"
7
- version = "3.5.2"
7
+ version = "3.5.3"
8
8
  description = "ECAPI SDK for Python"
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.9"
@@ -773,6 +773,10 @@ class GameLogAPI(_BaseApi):
773
773
  """分页查询游戏玩家记录"""
774
774
  return self._get(f"/game-logs/players", query, **kwargs)
775
775
 
776
+ def get_zombie_escape_supply_draws(self, query: Optional[QueryParams] = None, **kwargs: Any) -> Any:
777
+ """分页查询生化大逃杀血清抽取记录"""
778
+ return self._get(f"/game-logs/zombie-escape/supply-draws", query, **kwargs)
779
+
776
780
  class EchoMelandAPI(_BaseApi):
777
781
  def add_favorite(self, worldId: Union[int, float], ecid: str, **kwargs: Any) -> Any:
778
782
  """添加玩家家园收藏"""
@@ -628,6 +628,13 @@ class GameLogAPIGetPlayersQuery(GameLogAPIGetPlayersQueryRequired, total=False):
628
628
  current: QueryValue
629
629
  pageSize: QueryValue
630
630
 
631
+ class GameLogAPIGetZombieEscapeSupplyDrawsQueryRequired(TypedDict):
632
+ ecid: QueryValue
633
+
634
+ class GameLogAPIGetZombieEscapeSupplyDrawsQuery(GameLogAPIGetZombieEscapeSupplyDrawsQueryRequired, total=False):
635
+ current: QueryValue
636
+ pageSize: QueryValue
637
+
631
638
  class EchoMelandAPIUpdateEnderChestBodyRequired(TypedDict):
632
639
  nbtBase64: Optional[str]
633
640
 
@@ -1366,6 +1373,7 @@ class GameLogAPI:
1366
1373
  def get_pit_session_details(self, id: str, **kwargs: Any) -> Any: ...
1367
1374
  def get_pit_sessions(self, query: Optional[GameLogAPIGetPitSessionsQuery] = ..., **kwargs: Any) -> Any: ...
1368
1375
  def get_players(self, query: GameLogAPIGetPlayersQuery, **kwargs: Any) -> Any: ...
1376
+ def get_zombie_escape_supply_draws(self, query: GameLogAPIGetZombieEscapeSupplyDrawsQuery, **kwargs: Any) -> Any: ...
1369
1377
 
1370
1378
  class EchoMelandAPI:
1371
1379
  def add_favorite(self, worldId: Union[int, float], ecid: str, **kwargs: Any) -> Any: ...
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ecapi-sdk
3
- Version: 3.5.2
3
+ Version: 3.5.3
4
4
  Summary: ECAPI SDK for Python
5
5
  Author: EaseCation
6
6
  License: MIT
@@ -18,7 +18,7 @@ Description-Content-Type: text/markdown
18
18
 
19
19
  # ecapi-sdk (Python)
20
20
 
21
- ECAPI 的 Python SDK,面向当前重构后的 REST/OpenAPI 契约。当前门面由 `openapi.json` 生成并覆盖全部 160 个接口,并随包提供 `py.typed` 与 `client.pyi`,方便 IDE 显示参数、必填字段和 docstring。
21
+ ECAPI 的 Python SDK,面向当前重构后的 REST/OpenAPI 契约。当前门面由 `openapi.json` 生成并覆盖其中的全部接口,并随包提供 `py.typed` 与 `client.pyi`,方便 IDE 显示参数、必填字段和 docstring。
22
22
 
23
23
  ## 安装
24
24
 
File without changes