/graphy

graph audio features of Spotify tracks using the Spotify Web API

Primary LanguageJavaScriptApache License 2.0Apache-2.0

Graphy

Graphs audio features for individual tracks, playlists, and a user's entire Spotify library. A data set containing all the songs in a users library can be viewed.

Requirements

Node.js

Setup

mkdir ...main/node_modules && cd $_ && npm install express && npm install request npm install querystring

Set the following variables with your credentials from Spotify Developer

//main/authorization_code/app.js

var client_id = ''; // Your client id
var client_secret = ''; // Your secret
var redirect_uri = 'http://localhost:8888/callback'; // Your redirect uri (default to local host)

Set the redirect URI for your application on the Spotify Developer website

Run

cd ../main/authorization_code && node app.js

Navigate to your site (ex. http://localhost:8888/), and login...