0.0.0 • Published 10 years ago

yt-utils v0.0.0

Weekly downloads
4
License
MIT
Repository
github
Last release
10 years ago

youtube utils

Some utility functions for dealing with Youtube

methoddesc
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