Skip to content
/ statify Public

An app where anyone can join with Spotify credentials and see a lot of cool statistics about his/her profile.

Notifications You must be signed in to change notification settings

Deffro/statify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

dd15a6e · May 4, 2021

History

38 Commits
Nov 9, 2020
Apr 18, 2021
May 4, 2021
Nov 9, 2020
Oct 20, 2020

Repository files navigation

Statify

An app where anyone can join with spotify credentials and see a lot of cool statistics about his/her profile.

Before visiting the app, you might want to check the Known Bugs section at the end of the page.

Since the app uses a lot of requests, does a lot of processing and creates many visualizations, it can take up to 20 seconds to load.

(if the message "error loading dependencies" appears, it is a known bug and just refresh the page)

Check the blog post on Towards Data Science

Statify-Demo

Technologies/Concepts used

  • Spotify API
  • Object Oriented Programming
  • Git, GitHub
  • PEP8 notation
  • Pandas
  • Plotly and Dash
  • Flask
  • Ngrok
  • HTML, CSS
  • Heroku

How to run it by yourself

  • Create an app in spotify and generate your client id and client secret
  • Copy and paste them in server.py
  • Run ngrok.exe and type ngrok http 8080
  • Copy and paste the ngrok url in CLIENT_SIDE_URL in server.py
  • Visit again your spotify app, go to settings and under Redirect URIs paste the ngrok url. Also add "http://127.0.0.1:8080/" there. Don't forget to save
  • From terminal run: python server.py
  • In a browser visit the ngrok url

Known Bugs

  • If the message "error loading dependencies" appears, it is a known bug and just refresh the page.
  • If you visit the site and after you another person in the world also visits the site, then if you refresh the "/app/" page you will see his statistics and not yours. If you want to see your statistics refresh the index page. The current state of the app is not to be refreshed.

About

An app where anyone can join with Spotify credentials and see a lot of cool statistics about his/her profile.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published