This is an implementation of a neural network to create better playlists based on training data supplied from a users Spotify library.
First, use the package manager pip to install Spotipy. Then, create a Spotify Developer Account and retrieve your unique client id and secret. Next, pick a redirect uri for the API to redirect to after you've been logged in. http://localhost/ will work fine. Set these values as enviornmental variables before you run.
brew install python3
pip3 install spotipy
pip3 install sklearn
pip3 install pandas
export SPOTIPY_CLIENT_ID='your-spotify-client-id'
export SPOTIPY_CLIENT_SECRET='your-spotify-client-secret'
export SPOTIPY_REDIRECT_URI='your-app-redirect-url'
python3 connectSpotify.py <username>
- Olivia Lohe - GitHub
- Nick Bigger - GitHub
- Aaron Thompson - GitHub
- Braden Ash - GitHub
- Lukas Jimenez-Smith - GitHub
- Thank you to the Spotipy team for use of their product, as well as the use of sklearn and pandas.
- Additionally, thank you to Wes Doyle and his YouTube series on how to do machine learning in Python.