yt-utils

0.0.0 • Public • Published

youtube utils

Some utility functions for dealing with Youtube

method desc
YT(apiKey) Constructor. apiKey is optional. If set, will perform the queries with youtube V3 api
isYoutubeVideoUrl(url) Verifies if a given URL is from youtube and is a valid one (a youtube shortlink or not)
getVideoId(url) from a valid youtube video URL gets the ID of that video
getVideoInfo(vId, cb) queries the Data API for getting info about a particular videoId.

MITLICENSE

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.0
    0
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.0
    0

Package Sidebar

Install

npm i yt-utils

Weekly Downloads

0

Version

0.0.0

License

MIT

Last publish

Collaborators

  • cirocosta