UNPKG

deezer-lib

Version:

A simple Deezer lib to interact with the Deezer API

24 lines (23 loc) 575 B
exports.ENDPOINTS = { Search: 'https://api.deezer.com/search', Get: { User: 'https://api.deezer.com/user', Track: 'https://api.deezer.com/track', Radio: 'https://api.deezer.com/radio', Podcast: 'https://api.deezer.com/podcast', Playlist: 'https://api.deezer.com/playlist', Genre: 'https://api.deezer.com/genre' } } exports.TYPES = { Artist: 'artist', Track: 'track', Album: 'album', Playlist: 'playlist', Podcast: 'podcast', Radio: 'radio', User: 'user', Genres: 'genres', Top: 'top', Lists: 'lists' }