A simple Python application to create custom Spotify playlists using the Spotify Web API, based on seed tracks.
This is the source code for the "Create Spotify Playlists with Python" video on The Sound of AI YouTube channel.
Check out the video at: https://www.youtube.com/watch?v=3vvvjdmBoyc&list=PL-wATfeyAMNrTEgZyfF66TwejA0MRX7x1&index=2
Install the necessary Python packages by running:
$ pip install -r requirements.txt
Export the environment variables:
$ export SPOTIFY_AUTHORIZATION_TOKEN=value_grabbed_from_spotify
$ export SPOTIFY_USER_ID=value_grabbed_from_spotify
Run the entry-point script and follow the console instructions:
$ python createplaylist.py