Allows you to interact with spotify with a web API.
Do you want to integrate spotify with any other tool ?
Well, you can't because of recent decisions, removing the web based API.
This tool "fixes" that by interacting with still present APIs to merge into web based API.
Secured through simple Basic HTTP Auth, you can now controle the music from anything.
There are multiple "backends".
The idea is that a "backend" is just a "raw" Spotify API.
You can make your own too !
Copy the core/backends/backend.py to have the base.
Your new class must inherite from SpotifyAPIBackend.
Check out core/backends/dbus_api.py for some inspiration.
Edit the main.py file.
You can change:
HOST: define the ip to bind to. common values arelocalhostor127.0.0.1to only open the API to localhost, or0.0.0.0to bind on all interfacesPORT: define the port to bind toUSES_AUTHENTICATION: if set toTrue, you'll need to authenticate with a valid user:password combination.USERS: define the users that can authenticate.BACKEND: define the used backend. Note: for now, onlydbusis available. You can add more on thecore/backends/directory, and by adding them to theAVAILABLE_BACKENDSvariable, found on thecore/web_server.pyfile.VERSION: version number shown on swagger
- Linux
- using dbus
- MacOS (ongoing)
- using applescript
- Windows (not planned for now)