2.0.0 • Published 5 years ago

youtube-search-lib v2.0.0

Weekly downloads
6
License
MIT
Repository
github
Last release
5 years ago

youtube-search-lib

You can easily search for videos on Youtube using their v3 API.

install

npm i youtube-search-lib

Options

You can pass four optional parameters as the second parameter. Such as, part, query, key, maxResults.

Rate limiting

Google enforces a rate limit on the Youtube Data API. You will probably need to register your application for a key and supply this key in the options object..

Usages

const Search = require("youtube-search-lib");

or

import Search from "youtube-search-lib";
Search({ key: YOUR_API_KEY, term: "JavaScript", maxResults: 8 })
  .then(videos => console.log(videos))
2.0.0

5 years ago

1.1.0

6 years ago

1.0.0

6 years ago