Naughty Pinching Mannequins
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

u-wave-source-youtube

1.3.0 • Public • Published

üWave YouTube Media Source

A üWave media source for searching through and importing videos from YouTube.

Installation

npm install --save u-wave-source-youtube

Usage

import uwave from 'u-wave-core';
import youTubeSource from 'u-wave-source-youtube';
 
const uw = uwave({ /* your config */ });
 
uw.source('youtube', youTubeSource, {
  // Get an API key as described here:
  // https://developers.google.com/youtube/v3/getting-started
  key: 'Your YouTube API Key',
  // Optionally override YouTube API search options.
  // See https://developers.google.com/youtube/v3/docs/search/list#parameters
  // for available options.
  search: {
    safeSearch: 'moderate'
  }
});

License

MIT

install

npm i u-wave-source-youtube

Downloadsweekly downloads

69

version

1.3.0

license

MIT

repository

githubgithub

last publish

collaborators

  • avatar
  • avatar