Gabsii / spotipy-dataviz

Visualize data from collaborative Spotify Playlists

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Goal

This project is made to fetch informations about collaborative playlists and visualize certain aspects of the playlist

Setup

  1. install spotipy

    pip3 install spotipy

  2. setup Spotify developer account and create application

  3. set environment variables

    export SPOTIPY_CLIENT_SECRET='your-spotify-client-secret'
    export SPOTIPY_REDIRECT_URI='your-app-redirect-url'
    
  4. call app using

    python main.py "username"

Visualized stuff

- Cake diagram for submissions by user in collaborative playlists
- Average Danceability, Energy, Liveness
+ the most fitting average song in the playlist

Following ideas

  • get the average song stats
  • feed data via sockets to frontend app

Changelog

v0.1

- running python console application
- started with `python main.py "USER_ID"`
- prints the following things:
    - playlists
    - percentage of tracks added by user
    - song describing the playlist
    - data concerning the songs features

v0.2

- implementing basic functionality of a webapp using django
- mockups
- oAuth for spotipy

About

Visualize data from collaborative Spotify Playlists


Languages

Language:Python 42.6%Language:CSS 37.5%Language:HTML 19.9%