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.
- {ecapi_sdk-3.5.4 → ecapi_sdk-3.6.0}/PKG-INFO +1 -1
- {ecapi_sdk-3.5.4 → ecapi_sdk-3.6.0}/pyproject.toml +1 -1
- {ecapi_sdk-3.5.4 → ecapi_sdk-3.6.0}/src/ecapi_sdk/client.py +4 -0
- {ecapi_sdk-3.5.4 → ecapi_sdk-3.6.0}/src/ecapi_sdk/client.pyi +7 -0
- {ecapi_sdk-3.5.4 → ecapi_sdk-3.6.0}/src/ecapi_sdk.egg-info/PKG-INFO +1 -1
- {ecapi_sdk-3.5.4 → ecapi_sdk-3.6.0}/README.md +0 -0
- {ecapi_sdk-3.5.4 → ecapi_sdk-3.6.0}/setup.cfg +0 -0
- {ecapi_sdk-3.5.4 → ecapi_sdk-3.6.0}/src/ecapi_sdk/__init__.py +0 -0
- {ecapi_sdk-3.5.4 → ecapi_sdk-3.6.0}/src/ecapi_sdk/py.typed +0 -0
- {ecapi_sdk-3.5.4 → ecapi_sdk-3.6.0}/src/ecapi_sdk.egg-info/SOURCES.txt +0 -0
- {ecapi_sdk-3.5.4 → ecapi_sdk-3.6.0}/src/ecapi_sdk.egg-info/dependency_links.txt +0 -0
- {ecapi_sdk-3.5.4 → ecapi_sdk-3.6.0}/src/ecapi_sdk.egg-info/top_level.txt +0 -0
|
@@ -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:
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|