kavita_client.api.scrobbling.get_api_scrobbling_token_expired

Module Contents

Functions

asyncio

Checks if the current Scrobbling token for the given Provider has expired for the current user

asyncio_detailed

Checks if the current Scrobbling token for the given Provider has expired for the current user

sync

Checks if the current Scrobbling token for the given Provider has expired for the current user

sync_detailed

Checks if the current Scrobbling token for the given Provider has expired for the current user

API

async kavita_client.api.scrobbling.get_api_scrobbling_token_expired.asyncio(*, client: kavita_client.client.AuthenticatedClient | kavita_client.client.Client, provider: kavita_client.models.scrobble_provider.ScrobbleProvider | kavita_client.types.Unset = UNSET) → bool | None

Checks if the current Scrobbling token for the given Provider has expired for the current user

Args:
provider (ScrobbleProvider | Unset): Members:
  • 0 — Kavita

  • 1 — AniList

  • 2 — Mal

  • 4 — Cbr

  • 5 — Hardcover

  • 6 — MangaBaka

Raises:

errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. httpx.TimeoutException: If the request takes longer than Client.timeout.

Returns:

bool

async kavita_client.api.scrobbling.get_api_scrobbling_token_expired.asyncio_detailed(*, client: kavita_client.client.AuthenticatedClient | kavita_client.client.Client, provider: kavita_client.models.scrobble_provider.ScrobbleProvider | kavita_client.types.Unset = UNSET) → kavita_client.types.Response[bool]

Checks if the current Scrobbling token for the given Provider has expired for the current user

Args:
provider (ScrobbleProvider | Unset): Members:
  • 0 — Kavita

  • 1 — AniList

  • 2 — Mal

  • 4 — Cbr

  • 5 — Hardcover

  • 6 — MangaBaka

Raises:

errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. httpx.TimeoutException: If the request takes longer than Client.timeout.

Returns:

Response[bool]

kavita_client.api.scrobbling.get_api_scrobbling_token_expired.sync(*, client: kavita_client.client.AuthenticatedClient | kavita_client.client.Client, provider: kavita_client.models.scrobble_provider.ScrobbleProvider | kavita_client.types.Unset = UNSET) → bool | None

Checks if the current Scrobbling token for the given Provider has expired for the current user

Args:
provider (ScrobbleProvider | Unset): Members:
  • 0 — Kavita

  • 1 — AniList

  • 2 — Mal

  • 4 — Cbr

  • 5 — Hardcover

  • 6 — MangaBaka

Raises:

errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. httpx.TimeoutException: If the request takes longer than Client.timeout.

Returns:

bool

kavita_client.api.scrobbling.get_api_scrobbling_token_expired.sync_detailed(*, client: kavita_client.client.AuthenticatedClient | kavita_client.client.Client, provider: kavita_client.models.scrobble_provider.ScrobbleProvider | kavita_client.types.Unset = UNSET) → kavita_client.types.Response[bool]

Checks if the current Scrobbling token for the given Provider has expired for the current user

Args:
provider (ScrobbleProvider | Unset): Members:
  • 0 — Kavita

  • 1 — AniList

  • 2 — Mal

  • 4 — Cbr

  • 5 — Hardcover

  • 6 — MangaBaka

Raises:

errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. httpx.TimeoutException: If the request takes longer than Client.timeout.

Returns:

Response[bool]