Skip to content

Latest commit

 

History

History
52 lines (30 loc) · 1.66 KB

README.md

File metadata and controls

52 lines (30 loc) · 1.66 KB

Charts-Playlist-Maker

This web app scrapes data from various music charts around the world (NZ, Australia, USA), which is then used to create Spotify playlists of the top charting songs.

To Run App:

Install dependencies:

Run on terminal:

pip3 install -r requirements.txt

Get Spotify Client Secrets

Run App:

Using your Client ID and Client Secret from the previous step, set your variables in the terminal: export SPOTIFY_CLIENT_ID='{Your client ID}'

export SPOTIFY_CLIENT_SECRET='{Your client secret}'

(note: 'export' should only be used for Mac or Linux machines. In Windows, replace 'export' with 'set')

Then, run the app:

set FLASK_APP=app

flask run

How It Works:

The first time the application is run, you will be taken to login with your Spotify account:

Screenshot

Once logged in, you will see the homepage:

Screenshot

Here, you can select which chart you want to create a playlist from:

Screenshot

Then enter a name and description for your playlist and submit:

Screenshot

Finally, a playlist will be created on your Spotify account, and the link to it will be embedded onto the web page for easy access

Screenshot