youtube-get

0.0.2 • Public • Published

youtube-get

Lightweight youtube data api v3 wrapper

Description

This module aims to provide a very light wrapper around the youtube data api v3. It doesn't try to provide a bunch of methods for accessing different parts of the api, instead just taking care of sending requests to the api based on an endpoint and params and returning you the result

Usage

var youtubeGet = require('youtube-get')
 
var myApiKey = 'something'
var youtube = youtubeGet(myApiKey)
//without api key is ok to for some requests
//var youtube = youtubeGet()
 
youtube('channels', {
    'part': 'id, snippet'
}, function (err, data) {
    //do something with the data
})

Readme

Keywords

Package Sidebar

Install

npm i youtube-get

Weekly Downloads

1

Version

0.0.2

License

MIT

Last publish

Collaborators

  • digitalsadhu