Skip to content

avertin/spotify_data

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 

Repository files navigation

Spotify Public Playlist Data

Python script to get data from the Spotify API.

Instructions

  1. Add usernames to the array and set your desired filename. If you signed up for Spotify with Facebook, your username is a little tricky to find. On your profile page in the desktop application, click on the '...' menu next to your profile picture. Select the 'Copy Spotify URI' and paste it somewhere. Your username is the series of numbers.
usernames = ['']
filename = "default.csv"
  1. Follow instructions from Spotify to create a developer application. After creating a develoepr application, add the client id and secret to the script.
client_id = ''
client_secret = ''
  1. In a terminal window, navigate to the folder containing the script file. Run the script. (Download Python if you don't already have it.)
python3 spotify_playlist_to_csv.py

About

Python script to get data from the Spotify API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages