Install latest version of python from https://python.org
Make sure you have pip installed on your computer
$ git clone https://github.com/snehashish090/spotify
$ cd spotify
$ pip install -r requirements.txt
Go to https://developer.spotify.com and create a project. Paste your client id and client secret into the creds.json file. It should look something like
{
"clientId":"YOUR_CLIENT_ID",
"clientSecret":"YOUR CLIENT SECRET"
}
Open config.json and configure the path to where you want to store your mp3 files. It should looke somthing like :
[
"~/Users/username/music/"
]
At last run the web application by running. Make sure to run it from the spotify directory.
$ python app.py