An unofficial lightweight, type hinted library that helps query the songlink api: https://odesli.co/
Project description
Songlink.py is an unofficial helper libray for querying the Songlink API
The library builds atop of the stdlib requests and json libraries with the Client, Decoder and, QueryParamaters classes. TheClient.search() method gives a simple way to query the api. The library is modular so there is nothing stopping you from making the requests yourself and just using the JSON decoder for the structured data.
Example Request
params = QueryParameters(songIfSingle=True)
with Client(default_params=params) as songlink:
response = songlink.search(QueryParameters(url="https://music.apple.com/au/album/its-not-up-to-you/1726654492?i=1726654496"))
entity_id = response.entityUniqueId
print(response.entitiesByUniqueId[entity_id].thumbnailUrl)
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file songlink-1a1.post1.tar.gz.
File metadata
- Download URL: songlink-1a1.post1.tar.gz
- Upload date:
- Size: 3.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.3 CPython/3.13.3 Darwin/24.5.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
70cf96de7e7fc2a07837c12731ee844ca6ab0fedb0af9678c3a1c0ea4d27dd7e
|
|
| MD5 |
8b7671ef8db3667e3affa372fd3cec37
|
|
| BLAKE2b-256 |
67d6220ab45f5ff59b42b91b9bd8eca6311d36c341ebd2891f28a0cba542cb2d
|
File details
Details for the file songlink-1a1.post1-py3-none-any.whl.
File metadata
- Download URL: songlink-1a1.post1-py3-none-any.whl
- Upload date:
- Size: 4.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.3 CPython/3.13.3 Darwin/24.5.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f4d021d9f282aa1a8f2bb524f6092d2cc2a1dcb5f25dac43d2f71c6dfde8a764
|
|
| MD5 |
93715d18b56a8b61bfaa8a538064ed0c
|
|
| BLAKE2b-256 |
82567a4a46adc7069feb4fac0bbc9c3b803944cb4ac4b5f815013b096ea62218
|