-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Welcome to the spotify_nodejs wiki!
We have 7 endpoint for now!
First of have oauth token.
Okey first of create app.js.
var spotify = require('spotifyapi_web_nodejs');
Set Access Token
spotify.accessToken = "access_token";
albumDetails | required albumID
albumTracks | required albumID optional limit and offset
severalAlbums | required albumIDs
artistDetails | required artistID
severalArtists | required artistIDs
artistAlbums | required artistID optional limit and offset
artistTopTracks | required artistID optional country
artistRelatedArtist | required artistID
availableGenreSeeds | not required any data
newReleases | optional country,limit and offset
featuredPlaylists | not required any data
browseCategories | not required any data
singleBrowseCategory | required category_id
categoryPlaylists | required category_id
Recommendations | required limit
checkUserFollows | required type and IDs
followUser | required type and IDs
followingList | required type optional limit
unfollowUser | required type and IDs
unfollowPlaylist | required owner_id and playlist_id
checkSavedAlbums | required IDs
checkSavedTracks | required IDs
savedAlbums | required limit and offset
savedTracks | required limit and offset
removeSavedAlbums | required IDs
removeSavedTracks | required IDs
addSavedTracks | required IDs
addSavedAlbums | required IDs
topArtistsAndTopTracks | required limit,offset and type
myPlaylists | required limit and offset
myProfile | not required any data
followPlaylist | required user_id and playlist_id
availableDevices | not required any data
currentPlayback | not required any data
recentlyPlayed | not required any data
currentlyPlaying | not required any data
playerPause | required device_id
playerSeekPosition | required position_ms optional device_id
playerRepeatMode | required state optional device_id
playerSetVolume | required volume_percent optional device_id
playerNextTrack | optional device_id
playerPreviousTrack | optional device_id
playerPlayTrack | optional device_id
playerChangeShuffleSettings | required state optional device_id
playerPlayback | required device_ids and play_state
Search | required query and type optional limit and offset
trackAudioAnalysis | required trackID
tracksAudioFeatures | required trackIDs
trackAudioFeatures | required trackID
severalTracks | required trackID