Metadata-Version: 2.4
Name: anilibria-api-client
Version: 1.0.0
Summary: Python async API wrapper for AniLibria Swagger
Author-email: whynotix <semenbolotov414@gmail.com>
License: The Unlicense
Project-URL: Homepage, https://github.com/semen-bol/Anilibria-Api-Client
Project-URL: Docs, https://anilibria-api-client.readthedocs.io/stable/
Project-URL: Issues, https://github.com/semen-bol/Anilibria-Api-Client/issues
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Requires-Python: <4.0.0,>=3.13
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: aiohttp==3.14.3
Requires-Dist: aiofiles==24.1.0
Requires-Dist: pydantic==2.13.3
Requires-Dist: m3u8-To-MP4==0.1.11
Requires-Dist: anilibria-api-types<2.0.0,>=1.0.0
Provides-Extra: docs
Requires-Dist: sphinx==7.0.0; extra == "docs"
Requires-Dist: sphinx-rtd-theme>=1.0.0; extra == "docs"
Requires-Dist: sphinx-autodoc-typehints>=1.0.0; extra == "docs"
Requires-Dist: sphinx_design>=0.6.1; extra == "docs"
Requires-Dist: furo>=2025.7.19; extra == "docs"
Requires-Dist: sphinx-hoverxref>=1.3.0; extra == "docs"
Requires-Dist: readthedocs-sphinx-search>=0.1.2; extra == "docs"
Provides-Extra: dev
Requires-Dist: pytest<9.0.0,>=8.4.0; extra == "dev"
Requires-Dist: dotenv<0.10.0,>=0.9.9; extra == "dev"
Requires-Dist: pytest-asyncio<2.0.0,>=1.3.0; extra == "dev"
Dynamic: license-file

# anilibria-api-client


[![pypi](https://img.shields.io/pypi/v/anilibria-api-client.svg)](https://pypi.org/project/anilibria-api-client/) [![LICENSE](https://img.shields.io/github/license/whynotix/anilibria-api-client)](https://github.com/whynotix/Anilibria-Api-Client/blob/main/LICENSE) [![Python](https://img.shields.io/pypi/pyversions/anilibria-api-client.svg)](https://pypi.org/project/anilibria-api-client/)

> [!CAUTION]  
> **It is not an official wrapper.** [Official AniLibria's Swagger](https://anilibria.top/api/docs/v1)

Anilibria-API-Client - this a async client to work with Anilibria API, use a aiohttp. Full writed at python

## Installing

Developed and tested with Python 3.13. While it may work with other versions (oldest and newest), they are not officially supported.

### pip

```bash
$ pip install anilibria-api-client
```

## Usage

```python
from anilibria_api_client.api_client import AsyncAnilibriaAPI  # Client
from anilibria_api_client.exceptions import (
    AnilibriaException,
    AnilibriaValidationException,
)  # However, even though the `types` package includes generation, I would prefer to explicitly define my own errors in the main repository and use those.
from anilibria_api_client.helper import *  # Download anime, save torrents files and more

from anilibria_api_types.enums import *  # Enums
from anilibria_api_types.responses import *  # Response models generated from OpenAPI


async def main():
    api = AsyncAnilibriaAPI()
    await api.teams.users(include="nickname")
```

## Documentation 📃

[Docs](https://anilibria-api-client.readthedocs.io/stable/)

## Issues/Contributing

### Issues

Report for any issues [here](https://github.com/whynotix/Anilibria-Api-Client/issues)

### Contributing

We approve contibuting and wait your first pull request

