youtube-search-api-with-axios
2.0.0 • Public • Published youtube-search-api-with-axios
Retrives a list of videos from youtube search api based on query parameters using axios
Basic Usage
Import module
import searchYouTube from 'youtube-api-search';
Define your API_KEY
const API_KEY = 'put your google youtube search api key here';
Use it in your code
searchYouTube({key: API_KEY, term: term, maxResults: 6}, (videos) => {
console.log(videos);
});
Enjoy! :)
Versions
Version | Downloads (Last 7 Days) | Tag |
---|
2.0.0 | 7 | latest |
Version History
Version | Downloads (Last 7 Days) | Published |
---|
2.0.0 | 7 | |
Package Sidebar
Install
npm i youtube-search-api-with-axios
Weekly Downloads