kavita_client.api.book.get_api_book_chapter_id_book_info

Module Contents

Functions

asyncio

Retrieves information for the PDF and Epub reader. This will cache the file.

asyncio_detailed

Retrieves information for the PDF and Epub reader. This will cache the file.

sync

Retrieves information for the PDF and Epub reader. This will cache the file.

sync_detailed

Retrieves information for the PDF and Epub reader. This will cache the file.

API

async kavita_client.api.book.get_api_book_chapter_id_book_info.asyncio(chapter_id: int, *, client: kavita_client.client.AuthenticatedClient | kavita_client.client.Client) → kavita_client.models.book_info_dto.BookInfoDto | None

Retrieves information for the PDF and Epub reader. This will cache the file.

This only applies to Epub or PDF files

Args:

chapter_id (int):

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:

BookInfoDto

async kavita_client.api.book.get_api_book_chapter_id_book_info.asyncio_detailed(chapter_id: int, *, client: kavita_client.client.AuthenticatedClient | kavita_client.client.Client) → kavita_client.types.Response[kavita_client.models.book_info_dto.BookInfoDto]

Retrieves information for the PDF and Epub reader. This will cache the file.

This only applies to Epub or PDF files

Args:

chapter_id (int):

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

kavita_client.api.book.get_api_book_chapter_id_book_info.sync(chapter_id: int, *, client: kavita_client.client.AuthenticatedClient | kavita_client.client.Client) → kavita_client.models.book_info_dto.BookInfoDto | None

Retrieves information for the PDF and Epub reader. This will cache the file.

This only applies to Epub or PDF files

Args:

chapter_id (int):

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:

BookInfoDto

kavita_client.api.book.get_api_book_chapter_id_book_info.sync_detailed(chapter_id: int, *, client: kavita_client.client.AuthenticatedClient | kavita_client.client.Client) → kavita_client.types.Response[kavita_client.models.book_info_dto.BookInfoDto]

Retrieves information for the PDF and Epub reader. This will cache the file.

This only applies to Epub or PDF files

Args:

chapter_id (int):

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