spotify-image-py
Simple library to get currently playing song from Spotify, optimal for small projects
- Do you need a simple way to get the cover art of the song you are currently listening to?
- Are you tired of having to code everything by yourself?
Look no further as spotify-image-py is the solution!
Spotify-image-py is perfect for:
- Raspberry Pi projects
- E-ink displays
- And everything else you can think of
What makes spotify-image-py different?
Spotify-image-py uses Spotify's proprietary API to log you safely into the application via a QR-code.
Well, how do I get started?
Create a new application at https://developer.spotify.com/dashboard/ and copy your client ID as well as client secret. Then you simply use spotify-image-py as such:
from spotifyimage import SpotifyUser
from PIL import Image
spotify_user = SpotifyUser(client_id, client_secret, "0.0.0.0", 3030)
spotify_user.get_currently_played_image().show()
And ta-da you have now created your first program using spotify-image-py.
Limitations
Spotify-image-py cannot store your access token between different sessions. You will have to log in every time your restart your script.
Issues and contributions
Please log issues here on GitHub and contribute if you can!
Metadata
Release files for spotify-image-py 1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| spotify-image-py-1.0.tar.gz | 4.3 kB | Without provenance | Details for spotify-image-py-1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| spotify_image_py-1.0-py3-none-any.whl | Python 3 | none | any | Details for spotify_image_py-1.0-py3-none-any.whl |
Total release size: 9.2 kB
Release files / spotify-image-py-1.0.tar.gz
| Download URL | spotify-image-py-1.0.tar.gz |
|---|---|
| Size | 4.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
69833da719c5ac52a333435d553e7895c016085ab5fab6d69c5a90a38e4f3420
|
|
BLAKE2b-256 checksum How to use checksums |
b5260dc271786c8e92d43e00a8d38b2432cd7c3c772a291aab4e972620162bb2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.15
|
Release files / spotify_image_py-1.0-py3-none-any.whl
| Download URL | spotify_image_py-1.0-py3-none-any.whl |
|---|---|
| Size | 4.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2a35364af78bc0cfdb805f9b98940bf8744eacdd3e7a64af77c0055cc08b5b49
|
|
BLAKE2b-256 checksum How to use checksums |
be1bf15a679af5f78efd08cb20f0c8640e9c9f10492f60a61f4fa37b50ab0cc1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.15
|
Security for spotify-image-py 1.0
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.