Skip to main content

Unofficial API for TIDAL music streaming service.

Project description

https://img.shields.io/pypi/v/tidalapi.svg https://api.netlify.com/api/v1/badges/f05c0752-4565-4940-90df-d2b3fe91c84b/deploy-status

Unofficial Python API for TIDAL music streaming service.

0.7.0 Rewrite

Currently the project is being rewritten to make it easier to maintain and create documentation for, see https://github.com/tamland/python-tidal/projects/1 for progress. There may be breaking changes, but i might be able to keep the current usage for a deprecation period. Anyways, you should probably wait with writing pull requests until 0.7.0 has been released.

Installation

Install from PyPI using pip:

$ pip install tidalapi

Example usage

import tidalapi

session = tidalapi.Session()
# Will run until you visit the printed url and link your account
session.login_oauth_simple()
tracks = session.get_album_tracks(album_id=16909093)
for track in tracks:
    print(track.name)

Documentation

Documentation is available at https://0-6-x–tidalapi.netlify.app/

History

v0.6.9

  • Update the client secret - morguldir

  • Fix token_refresh() not correctly including the client secret - morguldir

v0.6.8

  • Support OAuth login through login_oauth_simple() and login_oauth() - morguldir

  • Support loading an OAuth session through load_oauth_session() - morguldir

  • Include more info when a request fails - morguldir

v0.6.7

  • Fix wimp images not resolving - ktnrg45

  • Made the favorite playlists function also return created playlists - morguldir

v0.6.6

  • Update api token and slightly obfuscate it - morguldir

v0.6.5

v0.6.4

  • Add parameter to search() allowing for more results (up to 300) - morguldir

  • Fix get_track_url() not returning anything - morguldir

v0.6.3

  • Fix quality options using enum names instead of values - morguldir

  • Handle situations where tidal doesn’t set the version tag - morguldir

v0.6.2

  • Update lossless token - morguldir

  • Always use the same api token - morguldir

  • Include additional info when logging fails - morguldir

  • Make user_id and country_code optional when using load_session() - morguldir

  • Add version tag for Track - Husky22

  • Switch to netlify for documentation - morguldir

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tidalapi-0.6.9.tar.gz (18.6 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

tidalapi-0.6.9-py3-none-any.whl (13.1 kB view details)

Uploaded Python 3

tidalapi-0.6.9-py2-none-any.whl (13.1 kB view details)

Uploaded Python 2

File details

Details for the file tidalapi-0.6.9.tar.gz.

File metadata

  • Download URL: tidalapi-0.6.9.tar.gz
  • Upload date:
  • Size: 18.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.5.0 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.1

File hashes

Hashes for tidalapi-0.6.9.tar.gz
Algorithm Hash digest
SHA256 b016b97c8d5f03c7f25303286356b40a73cd482279ddade7c06778c00e7f5079
MD5 b971dedf48a28a40061a841438a752da
BLAKE2b-256 963115fbf54b0ece4ee738a59c9330b9ed30d5b6742f97d9f8c8aacab1d70843

See more details on using hashes here.

File details

Details for the file tidalapi-0.6.9-py3-none-any.whl.

File metadata

  • Download URL: tidalapi-0.6.9-py3-none-any.whl
  • Upload date:
  • Size: 13.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.5.0 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.1

File hashes

Hashes for tidalapi-0.6.9-py3-none-any.whl
Algorithm Hash digest
SHA256 f58bb8af4786cc1291efd9afc30b5f1a47dfb7e640e4c46d89a5a9f3103f613f
MD5 37c95ba21704c91c59663050297eb2a0
BLAKE2b-256 d02aef546bc4899b2b7cdd8e79614c82a59a173538c6e8cab6e305610b7bc40f

See more details on using hashes here.

File details

Details for the file tidalapi-0.6.9-py2-none-any.whl.

File metadata

  • Download URL: tidalapi-0.6.9-py2-none-any.whl
  • Upload date:
  • Size: 13.1 kB
  • Tags: Python 2
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.5.0 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.1

File hashes

Hashes for tidalapi-0.6.9-py2-none-any.whl
Algorithm Hash digest
SHA256 9d0cd77d1da41850f5daa7d62eebceefd070fa65b7301cdb0ca522eebb574510
MD5 d024b1a5c717959cf4c41e39ec926331
BLAKE2b-256 349696f0238ac751fe1031c09300b1f75fd76574189a008470d2eb409a3c1e96

See more details on using hashes here.

Supported by

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