Implementing a simple API for Spotify
- Written in Nodejs
- Checks errors, redirects into reason API (customizable)
- Logs access/refresh token into a json file
- Automatiaclly refreshes access token if its invalid/expired
- Nodejs (latest version is adviced)
- An application in Spotify's Website
- Create an application in Spotify's Website if you dont have one (https://developer.spotify.com/dashboard)
- Download source code fully
- Edit
.envfile to your needs
- Use
npm installcommand to install all node modules - Do not forget to edit your
.env - After completing all tasks, you can start your program with this command:
node index.js
IF you have ANY problems, do not hesitate to use issues page
- 1.0.0
- Initial release
This project is licensed under the MIT License - see the license.md file for details
I just wanted to test myself what can I do in a day.