Get audio features of an artists top tracks for further analysis
Available features: Danceability, Energy, Key, Loudness, Mode, Speechiness, Acousticness, Instrumentalness, Liveness, Valence, Tempo
Before you can run this project, you need to have the following installed:
- Python3
- pipenv (
pip3 install pipenv
)
-
Clone the repository:
git clone https://github.com/davidlpoole/spotify-api-test
cd spotify-api-test
-
Setup the virtual environment:
pipenv shell
-
Install the dependencies:
pipenv install
-
Create a
.env
file from.env.example
and add your client_id and client_secret from Spotify Developer Dashboard
python spotify/main.py
- Install the Black Formatter extension in VS Code for Python code formatting.