1.0.7 • Published 3 years ago

youtube-api-wok v1.0.7

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

youtube-api-wok

YouTube Data API without API key.

Adapted from youtube-search by @appit-online and youtube-scrape by @HermanFassett

Installation

Yarn

yarn add youtube-api-wok

NPM

npm install youtube-api-wok --save

Usage

Search

import * as yt from 'youtube-api-wok';

const search = await yt.search({q: 'BTS'});
console.log('Search videos:\n', search.items);

const searchMore = await yt.search({
  q: 'BTS',
  key: search.innertubeApiKey,
  pageToken: search.nextPageToken,
});
console.log('More videos:\n', searchMore.items);

Videos

const videoDetail = await yt.videos({id: 'CuklIb9d3fI'});
console.log('Video detail:\n', videoDetail);

comment: <> (## Methods)

comment: <> (### Search)

comment: <> (#### Parameters)

comment: <> (#### Return)

comment: <> (### Videos)

comment: <> (#### Parameters)

comment: <> (#### Return)

TODO

  • Search
  • Videos
  • Channels
  • Comments
  • CommentThreads
  • Playlists
  • Subscriptions
  • Activities
1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago