2.3.0 ā¢ Published 3 years ago
youtube-api-v3-wrapper v2.3.0
š„ Youtube API V3 (Wrapper)
š An easy to use wrapper around the Youtube Data API which is class based and asynchronous.
ā Installation:
npm install youtube-v3-api-wrapper
š Sample code snippet:
const { YoutubeAPIClient } = require("youtube-v3-api-wrapper");
// ā Subject to changes
// Find your YOUTUBE API KEY => https://developers.google.com/youtube/v3/docs
const youtube = new YoutubeAPIClient("key", "YOUTUBE API KEY");
// YoutubeAPI#getVideosByMostPopular(maxResults, params)
youtube.getVideosByMostPopular(10, { regionCode: "US" })
.then(resp => {
// Code...
}).catch(err => {
// Code...
})
š£ Documentation
Refer to the offical Youtube API documentation: https://developers.google.com/youtube/v3/docs
ā Todo:
- Documentation