An open API service indexing awesome lists of open source software.

https://github.com/byigitt/sapi

implementing a simple api for spotify
https://github.com/byigitt/sapi

api-spotify spotify spotify-api spotify-web-api

Last synced: 8 months ago
JSON representation

implementing a simple api for spotify

Awesome Lists containing this project

README

          

# Basic API implementation for Spotify

Implementing a simple API for Spotify

## Features

- 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

## Getting Started

### Dependencies

- Nodejs (latest version is adviced)
- An application in Spotify's Website

### Installing

- Create an application in Spotify's Website if you dont have one (https://developer.spotify.com/dashboard)
- Download source code fully
- Edit `.env` file to your needs

### Executing program

- Use `npm install` command 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
```

## Help

IF you have ANY problems, do not hesitate to use issues page

## Version History

- 1.0.0
- Initial release

## License

This project is licensed under the MIT License - see the license.md file for details

## Acknowledgments

I just wanted to test myself what can I do in a day.

- [readme-template](https://gist.github.com/DomPizzie/7a5ff55ffa9081f2de27c315f5018afc)