Skip to main content

tidalapi

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.10

  • Update the client secret - 1nikolas

  • Use a track url endpoint compatible with the new secret - morguldir

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

Metadata

Release files for tidalapi 0.6.10

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for tidalapi 0.6.10
File Size Uploaded Provenance Actions
tidalapi-0.6.10.tar.gz 19.3 kB Without provenance Details for tidalapi-0.6.10.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for tidalapi 0.6.10
File Interpreter ABI Platform Actions
tidalapi-0.6.10-py3.10.egg Legacy Egg format - - Details for tidalapi-0.6.10-py3.10.egg
tidalapi-0.6.10-py3-none-any.whl Python 3 none any Details for tidalapi-0.6.10-py3-none-any.whl
tidalapi-0.6.10-py2-none-any.whl Python 2 none any Details for tidalapi-0.6.10-py2-none-any.whl

Total release size: 68.7 kB

Release files / tidalapi-0.6.10.tar.gz

Download URL tidalapi-0.6.10.tar.gz
Size 19.3 kB
Tags Source
SHA-256 checksum
How to use checksums
ca1798da3df64beef445b0af8644c7ebea262c305b8b8a87687960ec273bfcd4
BLAKE2b-256 checksum
How to use checksums
4395192b646f54aa827a7cd457ac73037973e8e29755fcb542c5c1976c181ef0
Upload date
Uploaded using Trusted Publishing?
What is 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.2

Release files / tidalapi-0.6.10-py3.10.egg

Download URL tidalapi-0.6.10-py3.10.egg
Size 22.8 kB
Tags Egg
SHA-256 checksum
How to use checksums
1e3aca360279c05494baa60f40e127003094ab46d4698d3736f3f639d4539e14
BLAKE2b-256 checksum
How to use checksums
177aaf6acc28129b80edd2cd4c353413f7b0d94899857c5c6e44c589247a1bf7
Upload date
Uploaded using Trusted Publishing?
What is 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.2

Release files / tidalapi-0.6.10-py3-none-any.whl

Download URL tidalapi-0.6.10-py3-none-any.whl
Size 13.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d4a6e70c758c44d087c521ac1e20e2b94d2389ae43d695ba9e4647c000abacbf
BLAKE2b-256 checksum
How to use checksums
e03a93cf1d0955de5bee4e42eeee9bb6a518c263e02beaf60bfa06f53af31a61
Upload date
Uploaded using Trusted Publishing?
What is 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.2

Release files / tidalapi-0.6.10-py2-none-any.whl

Download URL tidalapi-0.6.10-py2-none-any.whl
Size 13.3 kB
Tags Python 2
SHA-256 checksum
How to use checksums
cf917b151df2c60efc4f6a1ce003dfdc988cf652bb222836d539aabc9adcdbc8
BLAKE2b-256 checksum
How to use checksums
83025b8bd5a0d318868825ccd19f59a8c6e90a3f93de01a6d94e4367cb2c597d
Upload date
Uploaded using Trusted Publishing?
What is 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.2

Security for tidalapi 0.6.10

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.6.10 This release

4 release files No provenance

0.1.0

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page