kavita_client.api.download.get_api_download_chapter

Module Contents

Functions

asyncio_detailed

Returns the zip for a single chapter. If the chapter contains multiple files, they will be zipped.

sync_detailed

Returns the zip for a single chapter. If the chapter contains multiple files, they will be zipped.

API

async kavita_client.api.download.get_api_download_chapter.asyncio_detailed(*, client: kavita_client.client.AuthenticatedClient | kavita_client.client.Client, chapter_id: int | kavita_client.types.Unset = UNSET, correlation_id: str | kavita_client.types.Unset = UNSET) → kavita_client.types.Response[Any]

Returns the zip for a single chapter. If the chapter contains multiple files, they will be zipped.

Args:

chapter_id (int | Unset): correlation_id (str | 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[Any]

kavita_client.api.download.get_api_download_chapter.sync_detailed(*, client: kavita_client.client.AuthenticatedClient | kavita_client.client.Client, chapter_id: int | kavita_client.types.Unset = UNSET, correlation_id: str | kavita_client.types.Unset = UNSET) → kavita_client.types.Response[Any]

Returns the zip for a single chapter. If the chapter contains multiple files, they will be zipped.

Args:

chapter_id (int | Unset): correlation_id (str | 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[Any]