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

Current Tags

VersionDownloads (Last 7 Days)Tag
2.0.07latest

Version History

VersionDownloads (Last 7 Days)Published
2.0.07

Package Sidebar

Install

npm i youtube-search-api-with-axios

Weekly Downloads

1

Version

2.0.0

License

MIT

Last publish

Collaborators

  • joaoamaral