Skip to content

ReLoia/mySpottyAPI

Repository files navigation

mySpottyAPI

img.png
real time listening status based on Spotify

Spotify API Key Guide

Learn how to create a Spotify Developer API Key because you will need this later.

Installation

Local Installation

Clone the repository

git clone https://github.com/ReLoia/mySpottyAPI.git /path/to/mySpottyAPI

Install dependencies

cd /path/to/mySpottyAPI
npm install

Start the server

node index.js

Docker Installation

Clone the repository

git clone https://github.com/ReLoia/mySpottyAPI.git /path/to/mySpottyAPI

Run the docker-compose file

cd /path/to/mySpottyAPI
docker-compose up

Login

To login to spotify and load the current playing song, you need to access the following URL:

/log-in

After logging in, you will be redirected to / and everything should start working.

About

Node.js API to get what I'm currently playing on spotify and other music related stuff

Resources

Stars

Watchers

Forks