abhiklodh / Spotipy-Wrapped

A python script designed to utilise the Spotify API via the Spotipy module to generate playlists and visualise listening data.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Spotipy Wrapped

A python script designed to utilise the Spotify API via the Spotipy module to generate playlists and visualise listening data.

Installation

pip install -r requirements.txt

Run

python main.py

Output

Welcome to Spotipy Wrapped, Abhik Lodh!
You have 12 followers.
Currently active on Web Player (Safari)
Currently listening to I Prevail - Every Time You Leave
Plotting graphs and generating your Spotipy Wrapped playlist from your Spotify listening history.

Your Spotipy Wrapped playlist is ready. Head over to Spotify or share your playlist with your friends!
https://open.spotify.com/playlist/1vTeHy3QaCO9pYaUziFa9K

Scientific Viewer Output

Screenshot 2021-07-12 at 10 10 47 AM

Screenshot 2021-07-12 at 10 08 36 AM

Playlist on Spotify

Screenshot 2021-07-12 at 10 09 37 AM

Plots

The script also generates three Seaborn plots showing the top artists, top genres, and the characteristics of the songs.

top artists

top genres

characteristics

About

A python script designed to utilise the Spotify API via the Spotipy module to generate playlists and visualise listening data.


Languages

Language:Python 100.0%