General
| Method | Description |
|---|---|
raw_request | Sends raw requests directly to the Jinko API, with only auth headers added. |
auth_check | Check authentication status for the current credentials. |
set_timeout | Sets the timeout limit used for each request sent to the Jinko API. |
raw_request
raw_request(
method: str,
path: str,
*,
params: dict[str, Any] | None = None,
json_body: Any | None = None,
data: bytes | None = None,
headers: dict[str, str] | None = None,
accept: str | None = None,
content_type: str | None = None
) -> Any
Sends raw requests directly to the Jinko API, with only auth headers added.
auth_check
auth_check() -> AuthCheckResult
Check authentication status for the current credentials.
Returns:
AuthCheckResult: An AuthCheckResult with the authentication status and API keyAuthCheckResult: metadata reported by the API.
set_timeout
set_timeout(value: float | int | None)
Sets the timeout limit used for each request sent to the Jinko API.