Skip to content

Spotify search and song-preview player using Spotify API

Notifications You must be signed in to change notification settings

amjiao/Spotify-Web-Player

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Spotify search and song-preview player using Spotify API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published