Metadata-Version: 2.1
Name: anitube-lib
Version: 0.1
Summary: Library that parses data from the site anitube.in.ua
Home-page: https://github.com/Lorg0n/anitube-ua-lib
Author: Lorg0n
Description-Content-Type: text/markdown

# anitube-ua-lib

Python library for working with [AniTube](https://anitube.in.ua/) - anime resource 

## Installation

```bash
pip install anitube-lib
```

## Usage
```python
# Import the library:
from anitube_ua_lib import AniTube

# Initialize:
anitube = AniTube()

# Search for anime:
results = anitube.search_anime("naruto", limit=10)

# Get anime details:
anime = results[0]
print(anime.name)
print(anime.description) 
print(anime.rating)

# Get anime screenshots:
screens = anime.get_big_screens() 
# or
screens = anime.get_small_screens()

# Get anime playlist:
playlist = anime.get_playlist()
print(playlist.json)

# Get anime list by filters:
anime_list = anitube.get_anime(
    cat=[6, 22],
    year=[2010, 2020], 
    sort='rating'
)
```

## Description
anitube-ua-lib is a Python library for convenient work with AniTube anime resource.

It allows you to:
- Search anime
- Get anime details like description, rating, categories, etc
- Get anime screenshots
- Get anime playlist (video links)
- Get anime list by filters: category, release year, rating, etc
