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

Readme

Keywords

none

Package Sidebar

Install

npm i yt-utils

Weekly Downloads

1

Version

0.0.0

License

MIT

Last publish

Collaborators

  • cirocosta