a cherrypy webapp that generates a spotify playlist from a string of tracks
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.DS_Store
Procfile
README.md
app.py
html.py
playlist_generator.py
requirements.txt
test_playlist.txt

README.md

This app is (probably) running live here: http://playlistgenerator.herokuapp.com/

To run this locally, you need to

  • create an application at spotify's dev center (https://developer.spotify.com/my-applications).

  • Once you've created the above application add http://127.0.0.1:8080/authenticate to Redirect URIs list:

  • Clone this repo

  • add a config.py file to the directory you just cloned with the following two lines:

    SPOTIPY_CLIENT_ID='your-spotiy-client-id'
    SPOTIPY_CLIENT_SECRET='your-spotify-client-secret'

    you'll find both 'your-spotiy-client-id' and 'your-spotify-client-secret' on the Spotify application page you just created.

  • run the app.py script passing a port and host as optional params

> python app.py