Releases: LuisEnMarroquin/spotify-sync
Released v1.2
History Sync for Spotify
Sync your Spotify's playback history every hour
- Initially folked from github.com/spotify/web-api-auth-examples
- This project uses Authorization Code Flow to authenticate against the Spotify Web API
Installation
These examples run on Node.js. On this website you can find instructions on how to install it
Once node is installed, install yarn globally
npm install -g yarn
Then clone this repo and install it's dependencies
yarn install --pure-lockfile
Use your credentials
You will need to register your app and get your own credentials from the Spotify for Developers Dashboard
To do so, go to your Spotify for Developers Dashboard and create your application
For the examples, we registered these Redirect URIs:
- http://localhost:8888 (needed for the implicit grant flow)
- http://localhost:8888/callback
Once you have created your app, create an .env
file and add the CLIENT_ID
and CLIENT_SECRET
that you got from your Spotify Dashboard
CLIENT_ID=12345678
CLIENT_SECRET=12345678
Database (important)
MongoDB 4.2 is required to run this project
If you have Docker you can run
yarn database
Run the application
In order to run the project, run server.js
node server.js
Then, open http://localhost:8888
in your browser
Released v1.1
History Sync for Spotify
Sync your Spotify's playback history every hour
- Initially folked from github.com/spotify/web-api-auth-examples
- This project uses Authorization Code Flow to authenticate against the Spotify Web API
Installation
These examples run on Node.js. On this website you can find instructions on how to install it
Once node is installed, install yarn globally
npm install -g yarn
Then clone this repo and install it's dependencies
yarn install --pure-lockfile
Use your credentials
You will need to register your app and get your own credentials from the Spotify for Developers Dashboard
To do so, go to your Spotify for Developers Dashboard and create your application
For the examples, we registered these Redirect URIs:
- http://localhost:8888 (needed for the implicit grant flow)
- http://localhost:8888/callback
Once you have created your app, create an .env
file and add the CLIENT_ID
and CLIENT_SECRET
that you got from your Spotify Dashboard
CLIENT_ID=12345678
CLIENT_SECRET=12345678
Database (important)
MongoDB 4.2 is required to run this project
If you have Docker you can run
yarn database
Run the application
In order to run the project, run server.js
node server.js
Then, open http://localhost:8888
in your browser
Released v1.0
GitLab CI pipeline with dynamic environments is working