Skip to content

jmurray6/spotify_user_data

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spotify User Data

Welcome to Spotify User Data! This is a simple repo to generate figures of one Spotify user's listening history. This project uses Spotipy, Matplotlib, and Pandas.

Example Output: All about dark and energetic over here

You will need to set up a Spotify app in the Spotify Developer Portal. When setting up the app, set the Redirect URI to http://localhost:8080. After creating the app, copy the Client ID and Client Secret to use in the .env file in this repo.

Prerequisites

Have Python3 and Pip3 installed on your machine.

⚠️ These instructions are for Mac/Linux systems. ⚠️

Install

Run the following commands

chmod +x ./scripts/install.sh
./scripts/install.sh

Setup

Fill in the .env file with your Client ID and Client Secret.

If you wish, modify the NUMBER_OF_SONGS, TIME_RANGE, FIG_OUTPUT_PATH to fit your preferences.

Run

chmod +x ./scripts/run.sh
./scripts/run.sh

For subsequent runs after the first run:

./scripts/run.sh

About

Explore Spotify user data

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published