Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Query Youtube data

branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

readme.md

node-youtube-data

Get data from YouTube

build status

Examples

var yt = require('youtube-data')
var token = process.env.OAUTH_TOKEN

yt.query()
  .oauth(token)
  .videos('monstercatmedia')
  .results(50)
  .orderByPublished()
  .simple()
  .run(function(err, data){
    if (err) console.log(err)
    console.log(data.feed.entry)
  })

Methods

.oauth(token)

Authenticate a request with an oauth access token.

Adds Authentication: Bearer {token} to request headers

...

More documentation to follow

Work in progress

I have only implemented the bare minimum, the api will expand with time and pull requests ;)

Something went wrong with that request. Please try again.