get-youtube-title
get a youtube video title.
Last updated 6 months ago by goto-bus-stop .
Apache-2.0 · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install get-youtube-title 
SYNC missed versions from official npm registry.

get-youtube-title

get the title of a youtube video in node.js or the browser.

npm travis standard

Install

npm install get-youtube-title

Usage

var getYoutubeTitle = require('get-youtube-title')

getYoutubeTitle('ZjM8Wq5pQ2o', function (err, title) {
  console.log(title) // 'SLCHLD - EMOTIONS (feat. RIPELY) (prod. by GILLA)'
})

API

getYoutubeTitle(id: string, key: string, function(err, title))

id is the YouTube Video ID. If you have a video URL, use the get-youtube-id module to find the video ID. key is the YouTube API key. If one is not provided a default key is used. Note that this key may be disabled by YouTube if other users of this library send what it considers abusive requests.

License

Apache-2.0

Current Tags

  • 1.0.1                                ...           latest (6 months ago)

2 Versions

  • 1.0.1                                ...           6 months ago
  • 1.0.0                                ...           3 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 1
Last Day 0
Last Week 1
Last Month 2
Dependencies (0)
None
Dev Dependencies (2)
Dependents (1)

Copyright 2014 - 2017 © taobao.org |