kavita_client.api.stats.get_api_stats_words_per_year

Module Contents

Functions

asyncio

Returns a count of words read per year for a given userId.

asyncio_detailed

Returns a count of words read per year for a given userId.

sync

Returns a count of words read per year for a given userId.

sync_detailed

Returns a count of words read per year for a given userId.

API

async kavita_client.api.stats.get_api_stats_words_per_year.asyncio(*, client: kavita_client.client.AuthenticatedClient | kavita_client.client.Client, user_id: int | kavita_client.types.Unset = UNSET) → list[kavita_client.models.int_32_stat_count.Int32StatCount] | None

Returns a count of words read per year for a given userId.

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

async kavita_client.api.stats.get_api_stats_words_per_year.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.int_32_stat_count.Int32StatCount]]

Returns a count of words read per year for a given userId.

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

kavita_client.api.stats.get_api_stats_words_per_year.sync(*, client: kavita_client.client.AuthenticatedClient | kavita_client.client.Client, user_id: int | kavita_client.types.Unset = UNSET) → list[kavita_client.models.int_32_stat_count.Int32StatCount] | None

Returns a count of words read per year for a given userId.

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

kavita_client.api.stats.get_api_stats_words_per_year.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.int_32_stat_count.Int32StatCount]]

Returns a count of words read per year for a given userId.

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