kavita_client.api.library.get_api_library_user_libraries

Module Contents

Functions

asyncio

Gets libraries for the given user that you also have access to

asyncio_detailed

Gets libraries for the given user that you also have access to

sync

Gets libraries for the given user that you also have access to

sync_detailed

Gets libraries for the given user that you also have access to

API

async kavita_client.api.library.get_api_library_user_libraries.asyncio(*, client: kavita_client.client.AuthenticatedClient | kavita_client.client.Client, user_id: int | kavita_client.types.Unset = UNSET) → list[kavita_client.models.library_dto.LibraryDto] | None

Gets libraries for the given user that you also have access to

Args:

user_id (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:

list[LibraryDto]

async kavita_client.api.library.get_api_library_user_libraries.asyncio_detailed(*, client: kavita_client.client.AuthenticatedClient | kavita_client.client.Client, user_id: int | kavita_client.types.Unset = UNSET) → kavita_client.types.Response[list[kavita_client.models.library_dto.LibraryDto]]

Gets libraries for the given user that you also have access to

Args:

user_id (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[list[LibraryDto]]

kavita_client.api.library.get_api_library_user_libraries.sync(*, client: kavita_client.client.AuthenticatedClient | kavita_client.client.Client, user_id: int | kavita_client.types.Unset = UNSET) → list[kavita_client.models.library_dto.LibraryDto] | None

Gets libraries for the given user that you also have access to

Args:

user_id (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:

list[LibraryDto]

kavita_client.api.library.get_api_library_user_libraries.sync_detailed(*, client: kavita_client.client.AuthenticatedClient | kavita_client.client.Client, user_id: int | kavita_client.types.Unset = UNSET) → kavita_client.types.Response[list[kavita_client.models.library_dto.LibraryDto]]

Gets libraries for the given user that you also have access to

Args:

user_id (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[list[LibraryDto]]