/Spotify-Playlist-Data

Given a Spotify Playlist link, this program will gather interesting data like Popularity, Length, Name, Album, Energy, Time Signature, and Tempo, and then present it in a nice format.

Primary LanguagePython

Spotify Playlist Data Gatherer

This was a personal project where I learned how to use the open spotify API (spotipy). Given a Spotify Playlist link, this program will gather interesting data like Popularity, Length, Name, Album, Energy, Time Signature, and Tempo, and then write them to a .csv file for easier consumption of the user.

Requirements and Installation

Required Modules

  • To install, simply enter these commands into your terminal. (for macOS users, replace pip with pip3)
    • pip install spotipy
    • pip install spotipy.oauth2

Setting up Repository

  • To clone repository, press the green "Code" button, and copy the HTTPS to your clipboard.
  • Create a new project in your code editor or IDE of choice.
  • Import the HTTPS url into version control on your new project.
  • Two Examples:
    • If using pycharm, go to VCS --> get from version control --> paste the url --> clone
    • If using Visual Studio Code, go to explorer (ctrl + shift + e) --> clone repository --> paste the url --> clone

Running

  • You can run the program by running spotify_playlist_data_gatherer.py!