Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/its-just-nans/polka-oauth-deezer-api
- Owner: Its-Just-Nans
- License: mit
- Created: 2022-03-01T17:30:58.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-11-05T16:43:14.000Z (about 1 year ago)
- Last Synced: 2023-11-05T18:33:28.499Z (about 1 year ago)
- Topics: deezer, deezer-api, oauth, oauth2, polka, server
- Language: JavaScript
- Homepage:
- Size: 6.84 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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
```