You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 3, 2021. It is now read-only.
Christopher Nelson edited this page Dec 22, 2016
·
5 revisions
getPlaylist(pid[, callback])
Returns a playlist by ID.
Parameters
pid number
ID of the playlist to retrieve.
callback function (optional)
Callback function to be called with data (Playlist Object if playlist is found; otherwise null) from server.
Returns
null
Example
// Get playlist with ID 123456bot.getPlaylist(123456);// If playlist is found{"active": true,"count": 10,"id": 123456,"name": "My Playlist 123456"}// Otherwisenull