Skip to content

cirocosta/yt-utils

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

youtube utils Build Status

Some utility functions for dealing with Youtube

NPM

For running in the browser:

$ bower install --save yt-utils

Methods

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.

MIT LICENSE

About

Some utility functions for dealing with Youtube

Resources

License

Stars

Watchers

Forks

Packages

No packages published