Skip to content

Latest commit

 

History

History
17 lines (12 loc) · 1.05 KB

File metadata and controls

17 lines (12 loc) · 1.05 KB

Spotify Web Player

About

A Spotify webplayer built with the Spotify API and Spotipy python library. Its current functionalities are OAuth, searching Spotify, and playing a selected track's 30 second preview. Other technologies used in this project are Flask and HTML/CSS/JS.

This is the first part of a 'song-match' game I'm working on, which will allow multiple players to each select a song. Then, each song preview will be played in a random order, and players will have to guess who chose that song.

Usage

This project requires a virtual environment, installing dependencies from 'requirements.txt', and a Spotify account

To run:

  1. Make sure you have spotify running somewhere on your account. (can be the Spotify Desktop App, Mobile App, Website, etc.)

  2. Make your own .env file. Use the sample_env file as a template, and get a client id and secret from the Spotify for Developers dashboard

  3. Start the virtual environment in your code environment

  4. run 'python main.py' in the terminal

  5. ctrl+click the local host to open the app in your browser