Metadata-Version: 2.1
Name: chc
Version: 1.4
Summary: Search your favorite songs/artists/playlists/genres, Get details and recommendations.
Home-page: https://t.me/execal
Author: odi
Author-email: ivuxey@gmail.com
License: MIT
Project-URL: Source, https://github.com/vauth
Project-URL: Bug Tracker, https://t.me/feelded
Keywords: spotify,recommendation,ml,music
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.5
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: brotli
Requires-Dist: requests
Requires-Dist: aiow

<div align="center">
<h1>CHC</h1>
<p>Search your favorite songs/artists/playlists/genres</p>
<p>Get details and recommendations</p>
</div>


<h2>Installation:</h2>

```bash
python3 -m pip install chc
```

<h2>Examples:</h2>

<h3>Chc:</h3>

```python
from chc import Chc

# Search based on [track, artist, playlist] id
Chc.Search('Powerwolf', basedon='artist', limit=10)

# Get Details based on [track, artist, playlist] id 
Chc.GetDetails('0bUgTRe5st6TMbRCEjKezX', basedon='track')

# Get recommendation based on [track, artist, playlist] id or [genre] name
Chc.GetRecommendation('0bUgTRe5st6TMbRCEjKezX', basedon='track', limit=10)
```

<h3>Chc.sync:</h3>

```python
import asyncio
from chc.sync import Chc

async def my_test():
    # Search based on [track, artist, playlist] id
    await Chc.Search('Powerwolf', basedon='artist', limit=10)
    
    # Get Details based on [track, artist, playlist] id 
    await Chc.GetDetails('0bUgTRe5st6TMbRCEjKezX', basedon='track')
    
    # Get recommendation based on [track, artist, playlist] id or [genre] name
    await Chc.GetRecommendation('0bUgTRe5st6TMbRCEjKezX', basedon='track', limit=10)
    
asyncio.run(my_test())
```
