Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/its-just-nans/polka-oauth-deezer-api

A polka server connecting to the Deezer API with OAuth
https://github.com/its-just-nans/polka-oauth-deezer-api

deezer deezer-api oauth oauth2 polka server

Last synced: about 2 months ago
JSON representation

A polka server connecting to the Deezer API with OAuth

Awesome Lists containing this project

README

        

# polka-oauth-deezer-api

A tiny web server using [polka](https://github.com/lukeed/polka) to access the [Deezer API](https://api.deezer.com/) using the [OAuth Procedure](https://developers.deezer.com/api/oauth).

In this example the server is retreving informations about tracks of the loved playlist.

## Usage

- Create a Deezer App at [https://developers.deezer.com/myapps](https://developers.deezer.com/myapps).
- Edit the config.json file
- Run these commands:

```sh
npm install
node index.js
# go to the web page /
# you will be redirected to Deezer login
# then to the Deezer authorization page
# then to the localhost:3000/auth
```