kavita_client.api.o_auth.get_api_o_auth_start

Module Contents

Functions

asyncio_detailed

Start the OAuth flow for the given upstream, redirect (302!) to KavitaPlus

sync_detailed

Start the OAuth flow for the given upstream, redirect (302!) to KavitaPlus

API

async kavita_client.api.o_auth.get_api_o_auth_start.asyncio_detailed(*, client: kavita_client.client.AuthenticatedClient | kavita_client.client.Client, upstream: kavita_client.models.o_auth_upstream.OAuthUpstream | kavita_client.types.Unset = UNSET) → kavita_client.types.Response[Any]

Start the OAuth flow for the given upstream, redirect (302!) to KavitaPlus

Args:
upstream (OAuthUpstream | Unset): Members:
  • 0 — Discord

  • 1 — MangaBaka

  • 2 — AniList

  • 3 — MyAnimeList

  • 4 — Hardcover

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[Any]

kavita_client.api.o_auth.get_api_o_auth_start.sync_detailed(*, client: kavita_client.client.AuthenticatedClient | kavita_client.client.Client, upstream: kavita_client.models.o_auth_upstream.OAuthUpstream | kavita_client.types.Unset = UNSET) → kavita_client.types.Response[Any]

Start the OAuth flow for the given upstream, redirect (302!) to KavitaPlus

Args:
upstream (OAuthUpstream | Unset): Members:
  • 0 — Discord

  • 1 — MangaBaka

  • 2 — AniList

  • 3 — MyAnimeList

  • 4 — Hardcover

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[Any]