Code Monkey home page Code Monkey logo

charts-playlist-maker's Introduction

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

charts-playlist-maker's People

Contributors

brookeknowles avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.