package
Get YouTube data as JSON
npm install youtube-dataGitHub-flavored package documentation.
Across all versions.
Download trend unavailable.
Runtime metadata.
Get data from YouTube as JSON
Direct request
yt = require('youtube-data').init()
yt.channel 'monstercatmedia', (err, data) ->
for entry in data.entries
console.log entry.title
console.log '\t', entry.stats
console.log '\t', entry.ratingParse the xml directly
yt.xml().channel channelXml, (err, data) ->
console.log "parsed data" unless errI have only implemented the bare minimum, the api will expand with time and pull requests ;)
Estimated unpacked size across 39 packages.
7.0 MB
Includes dependencies.