Skip to main content

General

MethodDescription
raw_requestSends raw requests directly to the Jinko API, with only auth headers added.
auth_checkCheck authentication status for the current credentials.
set_timeoutSets 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 key
  • AuthCheckResult: 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.