Get your credentials at Spotify for Developers.
On terminal:
export SPOTIFY_CLIENT_ID="YOUR CLIENT ID"
export SPOTIFY_CLIENT_SECRET="YOUR CLIENT SECRET"
Download or clone the repository, in the project folder run
stack install
If you want to run the example
stack ghci Example/AudioFeatures.hs
*Main> main