Turns listentothis subreddit's top from month to a Spotify playlist
- Create an application at https://developer.spotify.com
- Get your client id and client secret key, setup a dummy redirect url (eg. 'http://localhost')
- Setup your environment:
export SPOTIPY_CLIENT_ID='your_client_id'
export SPOTIPY_CLIENT_SECRET='your_client_secret'
export SPOTIPY_REDIRECT_URI='your_redirect_url'
- Install script dependencies
pip install -r requirements.txt
- Run the script using your Spotify username
$ python main.py --username your_username