Simple Spotify Library for Python
For now, there is not a way to install, please just drag/drop the folder until the project is in a more complete state, and is pip-installable
Getting a track’s data:
from spotify.spotify import SpotifyInterface
spotify = SpotifyInterface(CLIENT_ID, CLIENT_SECRET)
to_search = input("Please enter a spotify track ID: ")
track = spotify.search_track_id(to_search)
print(f"{track.name} By {track.artist} ({track.album})")
- Track searching
- Album searching
- Playlist searching
- Multiple track searching
- No-Credential (ID only) authentication
- Returning full data with Track/Album objects
- Interacting with spotify (liking/saving/etc)
- Authenticating by password/oauth/etc (non-user ID only authentication)
-
I do not plan on covering the FULL spotify API myself, if you wish for something to be added thats not in the Planned section of the roadmap, please add a PR with the change.
-
This library at its core is about getting data from spotify, not changing it, that would require code and developer input which defeats the point of this project, which is being simple as possible and requiring as little as possible on the developers end.
-
This library does not support any way of authenticating other than client id/secret.