0.0.2 • Published 10 years ago

youtube-get v0.0.2

Weekly downloads
4
License
MIT
Repository
github
Last release
10 years ago

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
})
0.0.2

10 years ago

0.0.1

10 years ago