Skip to content

MusicBoxRaspberryPi/MusicBoxAPI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Music Box API

project-image

🛠️ Installation

  1. Clone the repository git clone https://github.com/MusicBoxRaspberryPi/MusicBoxAPI
  2. Rename .env.dist to .env
  3. Edit .env to your needs
  4. Install dependencies pip install -r requirements.txt
  5. Create Spotify App with redirect URIs: http://localhost:8080
  6. Copy Client ID and Client Secret from Spotify App -> Settings -> View client secret to .env
  7. Run python -m app.spotify.service, webpage should open in your browser and .cache file should be created

🚀 Usage

  • With Docker: docker compose up

  • Without Docker: python -m app.main