Getting started
Installation
Clone the repository and setup.
It is advised to create a virtual environment dedicated to Chopin.
Spotify developer credentials
Create a Spotify Developer account and an app. The dummy application will let you use the service. Here is an example of a configuration for your application:
Application Name: "app"
Website: _Not needed_
Redirect URIs: `http://localhost:8888/callback`
Bundle IDs: _Not needed_
Android Packages: _Not needed_
Once your application is setup in the Spotify Web interface, you can add your credentials in the .env file:
client_id=""
client_secret=""
scope="user-top-read,user-library-modify,playlist-modify-public,user-library-read,user-read-playback-state"
More infos about the scopes and what they do is available on the Spotify Developer documentation
Check everything works
Once you have:
- installed the chopin project
- created your spotify developer account and added your credentials in the
.envfile
You can make sure everything is installed properly by running:
make check
It should display your user names and your recent listening habits 🎧