/youtube-api-search

Primary LanguageJavaScriptMIT LicenseMIT

youtube-api-search

npm npm bundle size npm GitHub

Usage

  var search = require("youtube-api-search");
  
  var opts = {
    key: '',
    q: '',
    maxResults: 10
  };
  
  search(opts, (data)=>{})

Default Options

  var opts = {
    part: 'snippet',
    key: '',
    q: '',
    type: 'video',
    maxResults: 10,
    order: "relevance",
    pageToken: "",
    videoDuraation: ""
  }