ecapi-sdk 3.5.4__tar.gz → 3.6.0__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.4
3
+ Version: 3.6.0
4
4
  Summary: ECAPI SDK for Python
5
5
  Author: EaseCation
6
6
  License: MIT
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "ecapi-sdk"
7
- version = "3.5.4"
7
+ version = "3.6.0"
8
8
  description = "ECAPI SDK for Python"
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.9"
@@ -1028,6 +1028,10 @@ class PlayerSourceAccountAPI(_BaseApi):
1028
1028
  return self._get(f"/players/{quote(str(ecid), safe='')}/source-accounts", None, **kwargs)
1029
1029
 
1030
1030
  class PlayerStatusAPI(_BaseApi):
1031
+ def create_query(self, payload: Mapping[str, Any], **kwargs: Any) -> Any:
1032
+ """批量查询玩家服内状态"""
1033
+ return self._post(f"/player-status-queries", payload, **kwargs)
1034
+
1031
1035
  def get(self, query: Optional[QueryParams] = None, **kwargs: Any) -> Any:
1032
1036
  """查询玩家服内状态"""
1033
1037
  return self._get(f"/player-statuses", query, **kwargs)
@@ -888,6 +888,12 @@ class PlayerSourceAccountAPICreateDisplayNameQueryBodyRequired(TypedDict):
888
888
  class PlayerSourceAccountAPICreateDisplayNameQueryBody(PlayerSourceAccountAPICreateDisplayNameQueryBodyRequired, total=False):
889
889
  pass
890
890
 
891
+ class PlayerStatusAPICreateQueryBodyRequired(TypedDict):
892
+ playerNames: Sequence[Any]
893
+
894
+ class PlayerStatusAPICreateQueryBody(PlayerStatusAPICreateQueryBodyRequired, total=False):
895
+ pass
896
+
891
897
  class PlayerStatusAPIGetQueryRequired(TypedDict):
892
898
  displayName: QueryValue
893
899
 
@@ -1456,6 +1462,7 @@ class PlayerSourceAccountAPI:
1456
1462
  def list_bindings(self, ecid: str, **kwargs: Any) -> Any: ...
1457
1463
 
1458
1464
  class PlayerStatusAPI:
1465
+ def create_query(self, payload: PlayerStatusAPICreateQueryBody, **kwargs: Any) -> Any: ...
1459
1466
  def get(self, query: PlayerStatusAPIGetQuery, **kwargs: Any) -> Any: ...
1460
1467
 
1461
1468
  class ServerAPI:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ecapi-sdk
3
- Version: 3.5.4
3
+ Version: 3.6.0
4
4
  Summary: ECAPI SDK for Python
5
5
  Author: EaseCation
6
6
  License: MIT
File without changes
File without changes