1.5.3 • Published 3 years ago

apitube v1.5.3

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
3 years ago

APITUBE

APITUBE is a NodeJS Module to interact with the YouTube Data API v3 | Join our Discord Server for support

Disclaimer: This package relies on user feedback. Check out our Contributing guide to see how you can help!


Installation

- Stable
npm install apitube
- Developer
npm install github:BurnedBed/apitube#dev

Quick Example

const apitube = require('apitube').default;
const yt = new APITUBE(apikey: string, access_token: string);

yt.fetch('/search/', {
	params: {
		part: 'snippet',
		type: 'videos',
		q: 'Monkeys',
		maxResults: 5
	}
}).then(response => {
	const titles = response?.error ?? response?.items.map(v => v.snippet.title);
	return console.log(titles);
});

Table Of Contents

Notice

The YouTube Data API v3 requires you to have an apikey and an access_token (if accessing your Google account). You can check out a tutorials on how to receive both by clicking here.
1.5.3

3 years ago

1.5.2

3 years ago

1.5.1

3 years ago

1.5.0

3 years ago

1.0.0

3 years ago