2.0.0 • Published 7 years ago

youtube-search-api-with-axios v2.0.0

Weekly downloads
4
License
MIT
Repository
-
Last release
7 years ago

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

2.0.0

7 years ago

1.0.0

7 years ago