Skip to content

dynamene/deezer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PlayMo Deezer Cloud Function

Deezer API implementation

Getting Started

  • Install all dependencies npm install

  • Create a .env file and add the values from .env_example

  • Source your environment variables source .env

  • To run functions locally npm start

Routes

  • GET

    • Endpoint: /?link=deezer_playlist_link
  • DELETE

    • Endpoint: /?link=deezer_playlist_link
  • POST

    • Endpoint: /

    • Body:

      {
        "name": "string", // The playlist name
        "description": "string", // The playlist description
        // List of tracks to add to playlist. Maximum of 10 tracks.
        "tracks": [
          {
            "title": "string", // Track title
            "artist": "string", // Track artist
            "album": "string", // Track album
            "contributors": ["string"], // Track contributors. Must have atleast one value i.e. the track artist
            "duration": "integer" // The track duration in seconds
          }
        ]
      }

How to Get Deezer Token

About

Deezer API implementation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published