Returning Playlist Details

Q: What is returnPlaylistDetails?

A: returnPlaylistDetails is a function that returns playlist information from playlist ID.

▼ How to use ▼

            
                const bs = require('bs.js');

                            #Reminder -> These functions can only be used in async functions
                async function onStart() {
                                const varName = await bs.returnPlaylistDetails(0, 42069)
                                #To see all the cool API json stuff you can use, write this
                        console.log(varName)
}
             
        

Parameters

1. pageNum -- The page to search on.

2. playlistID -- playlist id to search for

Go Home