const YouTube = require('simple-youtube-api');
const Api = new YouTube('  Y  o  u  r     A  p  i     K  e  y  ');

Api.playlistById('PL2BN1Zd8U_MsyMeK8r9Vdv1lnQGtoJaSa')
    .then(results => {
        console.log(`The playlist's title is ${results[0].title}`);
    })
    .catch(console.log);


/*

    - - - - - - - - - - - - - - - - - - - -
        playlistById:

        Parameters:
        - Playlist ID

        Returns:
        - Promise <Array, Error>

        Properties:
        - title
        - id
        - description
        - url
        - publishedAt
        - channel
          > title
          > id

*/

@@ -253,16 +253,201 @@
 itle%7D%60);
+%0A%0A        results%5B0%5D.getVideos()%0A            .then(videos =%3E %7B%0A                console.log(%60This playlist has $%7Bvideos.length%7D videos.%60);%0A            %7D)%0A            .catch(console.log);
 %0A    %7D)%0A
@@ -797,11 +797,111 @@
   %3E id%0A%0A
+        Functions:%0A        - getVideos%0A          %3E  Returns:%0A          %3E  - Promise %3CArray, Error%3E%0A%0A
 */%0A

Add getVideos to playlistById