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 hashes)
Built Distribution
odesli-0.0.2-py3-none-any.whl
(7.5 kB
view hashes)