API Responses

Accounts methods responses

class BaseModel

Базовые классы: BaseModel

model_config: ClassVar[ConfigDict] = {'extra': 'ignore', 'populate_by_name': True, 'validate_by_alias': True, 'validate_by_name': True}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

_abc_impl = <_abc._abc_data object>
class OtpGetResponse(*, otp=None, remaining_time=None)

Базовые классы: BaseModel

otp: OtpModel | None
remaining_time: float | int | None
_abc_impl = <_abc._abc_data object>
model_config: ClassVar[ConfigDict] = {'extra': 'ignore', 'populate_by_name': True, 'validate_by_alias': True, 'validate_by_name': True}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class OtpLoginResponse(*, token=None)

Базовые классы: BaseModel

token: str | None
_abc_impl = <_abc._abc_data object>
model_config: ClassVar[ConfigDict] = {'extra': 'ignore', 'populate_by_name': True, 'validate_by_alias': True, 'validate_by_name': True}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class UsersAuthLoginResponse(*, token=None)

Базовые классы: BaseModel

token: str | None
_abc_impl = <_abc._abc_data object>
model_config: ClassVar[ConfigDict] = {'extra': 'ignore', 'populate_by_name': True, 'validate_by_alias': True, 'validate_by_name': True}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class UsersAuthLogoutResponse(*, token=None)

Базовые классы: BaseModel

token: str | None
_abc_impl = <_abc._abc_data object>
model_config: ClassVar[ConfigDict] = {'extra': 'ignore', 'populate_by_name': True, 'validate_by_alias': True, 'validate_by_name': True}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class UsersAuthSocialProviderLoginResponse(*, url=None, state=None)

Базовые классы: BaseModel

url: str | None
state: str | None
_abc_impl = <_abc._abc_data object>
model_config: ClassVar[ConfigDict] = {'extra': 'ignore', 'populate_by_name': True, 'validate_by_alias': True, 'validate_by_name': True}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class UsersAuthSocialAuthenticateResponse(*, token=None)

Базовые классы: BaseModel

token: str | None
_abc_impl = <_abc._abc_data object>
model_config: ClassVar[ConfigDict] = {'extra': 'ignore', 'populate_by_name': True, 'validate_by_alias': True, 'validate_by_name': True}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class UsersMeCollectionsReferencesAgeRatingsResponse(*, data=None)

Базовые классы: BaseModel

data: list[anilibria_api_client.models.models.AgeRatingsModel] | None
_abc_impl = <_abc._abc_data object>
model_config: ClassVar[ConfigDict] = {'extra': 'ignore', 'populate_by_name': True, 'validate_by_alias': True, 'validate_by_name': True}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class UsersMeCollectionsReferencesTypesResponse(*, data=None)

Базовые классы: BaseModel

data: list[anilibria_api_client.models.models.TypesModel] | None
_abc_impl = <_abc._abc_data object>
model_config: ClassVar[ConfigDict] = {'extra': 'ignore', 'populate_by_name': True, 'validate_by_alias': True, 'validate_by_name': True}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class UsersMeCollectionsReferencesYearsResponse(*, years=None)

Базовые классы: BaseModel

years: list[int] | None
_abc_impl = <_abc._abc_data object>
model_config: ClassVar[ConfigDict] = {'extra': 'ignore', 'populate_by_name': True, 'validate_by_alias': True, 'validate_by_name': True}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class UsersMeCollectionsIdsResponse(*, data=None)

Базовые классы: BaseModel

data: list[tuple[int, str]] | None
_abc_impl = <_abc._abc_data object>
model_config: ClassVar[ConfigDict] = {'extra': 'ignore', 'populate_by_name': True, 'validate_by_alias': True, 'validate_by_name': True}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class UsersMeCollectionsReferencesGenresResponse(*, data=None)

Базовые классы: BaseModel

data: list[anilibria_api_client.models.models.GenresModel] | None
_abc_impl = <_abc._abc_data object>
model_config: ClassVar[ConfigDict] = {'extra': 'ignore', 'populate_by_name': True, 'validate_by_alias': True, 'validate_by_name': True}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class UsersMeCollectionsReleasesResponse(*, meta=None, data=None)

Базовые классы: MetaModel

data: list[anilibria_api_client.models.models.ReleaseModel] | None
_abc_impl = <_abc._abc_data object>
model_config: ClassVar[ConfigDict] = {'extra': 'ignore', 'populate_by_name': True, 'validate_by_alias': True, 'validate_by_name': True}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class UsersMeCollectionsResponse(*, data=None)

Базовые классы: BaseModel

data: list[tuple[int, str]] | None
_abc_impl = <_abc._abc_data object>
model_config: ClassVar[ConfigDict] = {'extra': 'ignore', 'populate_by_name': True, 'validate_by_alias': True, 'validate_by_name': True}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class UsersMeFavoritesReferencesAgeRatingsResponse(*, data=None)

Базовые классы: BaseModel

data: list[anilibria_api_client.models.models.AgeRatingsModel] | None
_abc_impl = <_abc._abc_data object>
model_config: ClassVar[ConfigDict] = {'extra': 'ignore', 'populate_by_name': True, 'validate_by_alias': True, 'validate_by_name': True}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class UsersMeFavoritesReferencesGenresResponse(*, data=None)

Базовые классы: BaseModel

data: list[anilibria_api_client.models.models.GenresModel] | None
_abc_impl = <_abc._abc_data object>
model_config: ClassVar[ConfigDict] = {'extra': 'ignore', 'populate_by_name': True, 'validate_by_alias': True, 'validate_by_name': True}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class UsersMeFavoritesReferencesSortingResponse(*, data=None)

Базовые классы: BaseModel

data: list[anilibria_api_client.models.models.SortingModel] | None
_abc_impl = <_abc._abc_data object>
model_config: ClassVar[ConfigDict] = {'extra': 'ignore', 'populate_by_name': True, 'validate_by_alias': True, 'validate_by_name': True}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class UsersMeFavoritesReferencesTypesResponse(*, data=None)

Базовые классы: BaseModel

data: list[anilibria_api_client.models.models.TypesModel] | None
_abc_impl = <_abc._abc_data object>
model_config: ClassVar[ConfigDict] = {'extra': 'ignore', 'populate_by_name': True, 'validate_by_alias': True, 'validate_by_name': True}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class UsersMeFavoritesReferencesYearsResponse(*, data=None)

Базовые классы: BaseModel

data: list[int] | None
_abc_impl = <_abc._abc_data object>
model_config: ClassVar[ConfigDict] = {'extra': 'ignore', 'populate_by_name': True, 'validate_by_alias': True, 'validate_by_name': True}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class UsersMeFavoritesIdsResponse(*, data=None)

Базовые классы: BaseModel

data: list[int] | None
_abc_impl = <_abc._abc_data object>
model_config: ClassVar[ConfigDict] = {'extra': 'ignore', 'populate_by_name': True, 'validate_by_alias': True, 'validate_by_name': True}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class UsersMeFavoritesReleasesResponse(*, meta=None, data=None)

Базовые классы: MetaModel

data: list[anilibria_api_client.models.models.ReleaseModel] | None
_abc_impl = <_abc._abc_data object>
model_config: ClassVar[ConfigDict] = {'extra': 'ignore', 'populate_by_name': True, 'validate_by_alias': True, 'validate_by_name': True}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class UsersMeFavoritesResponse(*, meta=None, data=None)

Базовые классы: MetaModel

data: list[int] | None
_abc_impl = <_abc._abc_data object>
model_config: ClassVar[ConfigDict] = {'extra': 'ignore', 'populate_by_name': True, 'validate_by_alias': True, 'validate_by_name': True}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class UsersMeProfileResponse(*, id=None, login=None, email=None, nickname=None, avatar=None, torrents=None, is_banned=None, create_at=None, is_with_ads=None)

Базовые классы: BaseModel

id: int | None
login: str | None
email: str | None
nickname: str | None
avatar: AvatarModel | None
torrents: TorrentsStatsModel | None
is_banned: bool | None
create_at: AwareDatetime | None
is_with_ads: bool | None
_abc_impl = <_abc._abc_data object>
model_config: ClassVar[ConfigDict] = {'extra': 'ignore', 'populate_by_name': True, 'validate_by_alias': True, 'validate_by_name': True}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class UsersMeViewsHistoryResponse(*, meta=None, data)

Базовые классы: MetaModel

data: list[anilibria_api_client.models.models.HistoryModel]
_abc_impl = <_abc._abc_data object>
model_config: ClassVar[ConfigDict] = {'extra': 'ignore', 'populate_by_name': True, 'validate_by_alias': True, 'validate_by_name': True}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class UsersMeViewsTimecodesResponse(*, data=None)

Базовые классы: BaseModel

data: list[list[str | int | float | bool]] | None
get_episode_timecodes()

Вывод в удобном формате

Тип результата:

list[dict]

_abc_impl = <_abc._abc_data object>
model_config: ClassVar[ConfigDict] = {'extra': 'ignore', 'populate_by_name': True, 'validate_by_alias': True, 'validate_by_name': True}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

App methods responses

class BaseModel

Базовые классы: BaseModel

model_config: ClassVar[ConfigDict] = {'extra': 'ignore', 'populate_by_name': True, 'validate_by_alias': True, 'validate_by_name': True}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

_abc_impl = <_abc._abc_data object>
class SearchReleasesResponse(*, data)

Базовые классы: BaseModel

data: list[anilibria_api_client.models.models.ReleaseModel]
_abc_impl = <_abc._abc_data object>
model_config: ClassVar[ConfigDict] = {'extra': 'ignore', 'populate_by_name': True, 'validate_by_alias': True, 'validate_by_name': True}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class StatusResponse(*, request, is_alive=None, available_api_endpoints=None)

Базовые классы: BaseModel

request: RequestModel
is_alive: bool | None
available_api_endpoints: list[str] | None
_abc_impl = <_abc._abc_data object>
model_config: ClassVar[ConfigDict] = {'extra': 'ignore', 'populate_by_name': True, 'validate_by_alias': True, 'validate_by_name': True}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

Media methods responses

class BaseModel

Базовые классы: BaseModel

model_config: ClassVar[ConfigDict] = {'extra': 'ignore', 'populate_by_name': True, 'validate_by_alias': True, 'validate_by_name': True}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

_abc_impl = <_abc._abc_data object>
class PromotionsResponse(*, data)

Базовые классы: BaseModel

data: list[anilibria_api_client.models.models.PromotionsModel]
_abc_impl = <_abc._abc_data object>
model_config: ClassVar[ConfigDict] = {'extra': 'ignore', 'populate_by_name': True, 'validate_by_alias': True, 'validate_by_name': True}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class VideosResponse(*, data)

Базовые классы: BaseModel

data: list[anilibria_api_client.models.models.VideosModel]
_abc_impl = <_abc._abc_data object>
model_config: ClassVar[ConfigDict] = {'extra': 'ignore', 'populate_by_name': True, 'validate_by_alias': True, 'validate_by_name': True}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].