1.0.1 • Published 5 years ago
youtube-comments-fetch v1.0.1
Youtube-Comments
Examples
const Youtube = require('youtube-comments-fetch')
Youtube.fetchComments('7Glc2mHLPRM')
.fork(e => console.error('ERROR', e),
p => {
console.log('comments', p.comments)
console.log('nextPageToken', p.nextPageToken)
})
const Youtube = require('youtube-comments-fetch')
Youtube.fetchAllComments('7Glc2mHLPRM')
.fork(e => console.error('ERROR', e),
allComments => console.log(allComments))