Odesli API Python wrapper
Project description
python-odesli
Odesli/Songlink API wrapper for python.
Currently using version v1-alpha.1
of the Odesli API.
Installation
pip install odesli
From source
Install the PyPI package build
:
pip install build
Then (from the root of the repo):
pip install dist/*.whl
Usage
Convert Spotify link to Tidal and Youtube Music links:
from odesli.Odesli import Odesli
odesli = Odesli()
result = odesli.getByUrl('https://open.spotify.com/track/1jJci4qxiYcOHhQR247rEU')
print(result.songsByProvider['tidal'].linksByPlatform['tidal'])
print(result.songsByProvider['youtube'].linksByPlatform['youtubeMusic'])
For more information refer to the official Odesli API documentation.
Projects using this wrapper
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
odesli-0.0.2.tar.gz
(5.6 kB
view details)
Built Distribution
File details
Details for the file odesli-0.0.2.tar.gz
.
File metadata
- Download URL: odesli-0.0.2.tar.gz
- Upload date:
- Size: 5.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4bfdf3c8bc00d5d4e735f4b8c553adf0be3734326dff9835b9cee06ec571bc34 |
|
MD5 | 454934592e53ae7516df257ad5345140 |
|
BLAKE2b-256 | 3970801352d05764331d75bd9fca7a5c6f6c9be58530d82166587005131307b3 |
File details
Details for the file odesli-0.0.2-py3-none-any.whl
.
File metadata
- Download URL: odesli-0.0.2-py3-none-any.whl
- Upload date:
- Size: 7.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5d0a9fc9d922bf5ac7060654900b761049be3a3ea4dcbe435836c38e9822f97d |
|
MD5 | 8d3ace15b9d27fe55c94ae434c949ba6 |
|
BLAKE2b-256 | fee6fa9b4c58cd102b92a835a3fe24be8072896e08050d3a2421d9607a4f3424 |