Search your favorite songs/artists/playlists/genres, Get details and recommendations.
Project description
CHC
Search your favorite songs/artists/playlists/genres
Get details and recommendations
Installation:
python3 -m pip install chc
Examples:
Chc:
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)
Chc.sync:
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())
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
chc-1.4.tar.gz
(4.1 kB
view hashes)
Built Distribution
chc-1.4-py3-none-any.whl
(5.1 kB
view hashes)