kavita_client.api.book.get_api_book_chapter_id_book_page

Module Contents

Functions

asyncio

This returns a single page within the epub book. All html will be rewritten to be scoped within our reader, all css is scoped, etc.

asyncio_detailed

This returns a single page within the epub book. All html will be rewritten to be scoped within our reader, all css is scoped, etc.

sync

This returns a single page within the epub book. All html will be rewritten to be scoped within our reader, all css is scoped, etc.

sync_detailed

This returns a single page within the epub book. All html will be rewritten to be scoped within our reader, all css is scoped, etc.

API

async kavita_client.api.book.get_api_book_chapter_id_book_page.asyncio(chapter_id: int, *, client: kavita_client.client.AuthenticatedClient | kavita_client.client.Client, page: int | kavita_client.types.Unset = UNSET) → str | None

This returns a single page within the epub book. All html will be rewritten to be scoped within our reader, all css is scoped, etc.

Args:

chapter_id (int): page (int | Unset):

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:

str

async kavita_client.api.book.get_api_book_chapter_id_book_page.asyncio_detailed(chapter_id: int, *, client: kavita_client.client.AuthenticatedClient | kavita_client.client.Client, page: int | kavita_client.types.Unset = UNSET) → kavita_client.types.Response[str]

This returns a single page within the epub book. All html will be rewritten to be scoped within our reader, all css is scoped, etc.

Args:

chapter_id (int): page (int | Unset):

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

kavita_client.api.book.get_api_book_chapter_id_book_page.sync(chapter_id: int, *, client: kavita_client.client.AuthenticatedClient | kavita_client.client.Client, page: int | kavita_client.types.Unset = UNSET) → str | None

This returns a single page within the epub book. All html will be rewritten to be scoped within our reader, all css is scoped, etc.

Args:

chapter_id (int): page (int | Unset):

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:

str

kavita_client.api.book.get_api_book_chapter_id_book_page.sync_detailed(chapter_id: int, *, client: kavita_client.client.AuthenticatedClient | kavita_client.client.Client, page: int | kavita_client.types.Unset = UNSET) → kavita_client.types.Response[str]

This returns a single page within the epub book. All html will be rewritten to be scoped within our reader, all css is scoped, etc.

Args:

chapter_id (int): page (int | Unset):

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