kavita_client.api.reader.get_api_reader_pdf

Module Contents

Functions

asyncio_detailed

Returns the PDF for the chapterId.

sync_detailed

Returns the PDF for the chapterId.

API

async kavita_client.api.reader.get_api_reader_pdf.asyncio_detailed(*, client: kavita_client.client.AuthenticatedClient | kavita_client.client.Client, chapter_id: int | kavita_client.types.Unset = UNSET, api_key: str | kavita_client.types.Unset = UNSET, extract_pdf: bool | kavita_client.types.Unset = False) → kavita_client.types.Response[Any]

Returns the PDF for the chapterId.

Args:

chapter_id (int | Unset): api_key (str | Unset): extract_pdf (bool | Unset): Default: False.

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.reader.get_api_reader_pdf.sync_detailed(*, client: kavita_client.client.AuthenticatedClient | kavita_client.client.Client, chapter_id: int | kavita_client.types.Unset = UNSET, api_key: str | kavita_client.types.Unset = UNSET, extract_pdf: bool | kavita_client.types.Unset = False) → kavita_client.types.Response[Any]

Returns the PDF for the chapterId.

Args:

chapter_id (int | Unset): api_key (str | Unset): extract_pdf (bool | Unset): Default: False.

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]