Skip to main content

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

This version

1.4

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 details)

Uploaded Source

Built Distribution

chc-1.4-py3-none-any.whl (5.1 kB view details)

Uploaded Python 3

File details

Details for the file chc-1.4.tar.gz.

File metadata

  • Download URL: chc-1.4.tar.gz
  • Upload date:
  • Size: 4.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.0

File hashes

Hashes for chc-1.4.tar.gz
Algorithm Hash digest
SHA256 c941051f1532d03b7a39646f240f6af45cb288134b0cd9f958f4963427ff08e8
MD5 f1cef99165f8643680fc9382e913573a
BLAKE2b-256 b33108ff076a9b1303dccaf01d0179c6fa693124adf983ed90fb1434cad26a9f

See more details on using hashes here.

File details

Details for the file chc-1.4-py3-none-any.whl.

File metadata

  • Download URL: chc-1.4-py3-none-any.whl
  • Upload date:
  • Size: 5.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.0

File hashes

Hashes for chc-1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 7293410e2a986410f959304b6399b849ee077224276e6da9c20a6c666cee10e6
MD5 c04e9d19bfc547cc8a4da4bafd83cef9
BLAKE2b-256 3a28179d41fbb9b0f7246c68c3ac5374f3048d907d99f0c6452707264432564c

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page