python playlist_from_list.py -f path-to-file.txt -p "My sick playlist"
- Setup a Spotify app (https://developer.spotify.com/).
- Get your ID/Secret.
- Create a redirect_uri:
http://localhost:8000
- set you env vars:
SPOTIFY_CLIENT_ID
SPOTIFY_CLIENT_SECRET
- Install dependencies:
pip install -r requirements.txt
- Run the script
- Follow the instructions to do Oauth in the browser on first run.
- Paste the full url you're redirected to.
- It will cache your auth in a
.cache
file