New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

youtube-data

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

youtube-data

Get YouTube data as JSON

latest
Source
npmnpm
Version
0.1.9
Version published
Weekly downloads
57
159.09%
Maintainers
1
Weekly downloads
 
Created
Source

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 ;)

FAQs

Package last updated on 14 Aug 2013

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts