Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/swiiz/youtube-api-v3-wrapper
🔠An easy to use wrapper around the Youtube Data API which is class based and asynchronous.
https://github.com/swiiz/youtube-api-v3-wrapper
api nodejs wrapper youtube-api
Last synced: 18 days ago
JSON representation
🔠An easy to use wrapper around the Youtube Data API which is class based and asynchronous.
- Host: GitHub
- URL: https://github.com/swiiz/youtube-api-v3-wrapper
- Owner: Swiiz
- License: mit
- Created: 2021-05-09T17:15:12.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2023-12-21T10:18:00.000Z (about 1 year ago)
- Last Synced: 2024-10-29T00:19:17.955Z (2 months ago)
- Topics: api, nodejs, wrapper, youtube-api
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/youtube-api-v3-wrapper
- Size: 111 KB
- Stars: 5
- Watchers: 1
- Forks: 1
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 🎥 Youtube API V3 (Wrapper)
🔠An easy to use wrapper around the Youtube Data API which is class based and asynchronous.
[![MIT license](https://img.shields.io/badge/License-MIT-blue.svg)](https://lbesson.mit-license.org/)
☑ Installation:
```
npm install youtube-api-v3-wrapper
```🛒 Sample code snippet:
```JS
const { YoutubeAPIClient } = require("youtube-api-v3-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
- Add more functions