New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

dieyne-youtube-api

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dieyne-youtube-api

A module to simplify the YouTube API. it is same that simple-youtube-api just i have cutom search function now it return an objet not an array of videos

latest
Source
npmnpm
Version
5.1.2
Version published
Maintainers
1
Created
Source

Simple YouTube API

This library is designed to greatly simplify interacting with the basic functions of the YouTube API. It deals with viewing/searching videos, playlists, and channels.

Installation

$ npm install dieyne-youtube-api

Usage

  • Documentation This repository is clone from simple-youtube-api, i have cutom search function now it return an objet not an array of videos

Important note: the part query parameter

If you fetch a YouTube resource and it's missing information you expect to be present, it's very likely that you haven't sent the correct part query parameter to YouTube. This library has some default parts in order to give some basic information about each resource, but you should always verify your part queries if you require more/different information. Parts are available in detail on the Google Developers API documentation pages for each YouTube resource: for example, these are the available parts when fetching videos. Parts should be comma-separated.

Parts can be sent in the request options when fetching resources. For example:

const video = await youtube.getVideo('https://www.youtube.com/watch?v=dQw4w9WgXcQ', { part: 'statistics,status' })

Please see #28 for more information or to comment on this issue.

FAQs

Package last updated on 25 Apr 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts