/spotify-api-test

Testing out different spotify api endpoints

Primary LanguagePython

Testing the Spotify API

Get audio features of an artists top tracks for further analysis

Available features: Danceability, Energy, Key, Loudness, Mode, Speechiness, Acousticness, Instrumentalness, Liveness, Valence, Tempo

Getting Started

Pre-requisites

Before you can run this project, you need to have the following installed:

  • Python3
  • pipenv (pip3 install pipenv)

Installation

  1. Clone the repository:
    git clone https://github.com/davidlpoole/spotify-api-test
    cd spotify-api-test

  2. Setup the virtual environment:
    pipenv shell

  3. Install the dependencies:
    pipenv install

  4. Create a .env file from .env.example and add your client_id and client_secret from Spotify Developer Dashboard

Run the application

python spotify/main.py

Recommended for contributors