Skip to content

youtube-search-lib is a npm module to search for videos on youtube using their v3 API.

Notifications You must be signed in to change notification settings

SaroarShahan/youtube-search-lib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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))

About

youtube-search-lib is a npm module to search for videos on youtube using their v3 API.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published