Skip to content

see and visualize data for your spotify wrapped anytime!

Notifications You must be signed in to change notification settings

em-zhang/spotifystats

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

spotifystats

Collects and visualize data for a user's top 50 Spotify songs and artists.

Using the App

Creating an App and Using Your Credentials

Visit the Spotify for Developers dashboard to register your app and get your credentials.

  1. Go to https://developer.spotify.com/dashboard/, log in and create a new app.
  2. In your Spotify app settings, add http://127.0.0.1:5000/ as a Redirect URI.
  3. Once you have created your app, get the Client ID and Client Secret, navigate to the config.json file in the directory and replace the client_id, client_secret, and username with your credentials.

Generating data analysis for your top songs

Running dataanalysis.py will generate data visualizations and graphs that analyze data from your top 50 tracks and artists. You should also see a .csv file that contains your top 50 songs, artists, and albums.

Running the app

Use the following commands:

$ export FLASK_APP=app
$ export FLASK_ENV=development
$ flask run

If you don't have flask installed or are looking for an alternative, run python app.py.

Navigate to http://127.0.0.1:5000/ to view your top songs and artists.

Built with

  • Spotify Web API
  • Python
  • Flask
  • Pandas
  • Matplotlib and Seaborn
  • React
  • Bootstrap
  • HTML/CSS

About

see and visualize data for your spotify wrapped anytime!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published