@mahomuri/yt-playlist-fetcher

1.0.2 • Public • Published

YouTube Playlist Fetcher

YouTube Playlist Fetcher is yet again another library that fetched a playlist and returns a big array containing its details

Usage

const ytfetcher = require('@mahomuri/yt-playlist-fetcher');

ytfetcher('YouTube API Key', 'Playlist ID')
.then(playlistItems => {
    console.log(playlistItems.length);
    console.log(playlistItems);
});

Options

  • maxResults - The maxmimum amount of results to return from the playlist, starting from 0.

Installation

npm install @mahomuri/yt-playlist-fetcher

Testing

To test it, make sure to change the process.env.API_KEY to you own API Key then type:

npm test

Readme

Keywords

none

Package Sidebar

Install

npm i @mahomuri/yt-playlist-fetcher

Weekly Downloads

0

Version

1.0.2

License

MIT

Unpacked Size

450 kB

Total Files

7

Last publish

Collaborators

  • mahomuri