Unofficial Python API for TIDAL music streaming service.
Requires Python 3.9 or higher.
The 0.7.x rewrite is now complete, see the migration guide for dealing with it
python -m pip install git+https://github.com/Maverick565/python-tidal-no-1000-limit.git
import tidalapi
session = tidalapi.Session()
# Will run until you visit the printed url and link your account
session.login_oauth_simple()
# Override the required playback quality, if necessary
# Note: Set the quality according to your subscription.
# Normal: Quality.low_320k
# HiFi: Quality.high_lossless
# HiFi+ Quality.hi_res_lossless
session.audio_quality = Quality.low_320k
album = session.album(66236918)
tracks = album.tracks()
for track in tracks:
print(track.name)
for artist in track.artists:
print(' by: ', artist.name)
Documentation is available at https://tidalapi.netlify.app/
This project uses poetry for dependency management and packaging. To install dependencies and setup the project for development, run:
$ pip install pipx
$ pipx install poetry
$ poetry install --no-root