1.0.2 • Published 5 years ago

easy-youtube-info v1.0.2

Weekly downloads
7
License
MIT
Repository
github
Last release
5 years ago

easy-youtube-info

Install

Stable version:

npm install easy-youtube-info

Unstable version:

npm install AvengerSuicide/easy-youtube-info

Usage

const youtubeInfo = require('easy-youtube-info');

youtubeInfo.searchSong('song name') // i hate u
youtubeInfo.getSongByID('song id') // BiQIc7fG9pA
youtubeInfo.getSongByURL('song url') // https://www.youtube.com/watch?v=BiQIc7fG9pA

Functions Options

youtubeInfo.searchSong('song name', options)

  • moreResults - If you should get more than one result, should be written with a boolean value. true or false
  • size - The amount of results that should be obtained, being read only if moreResults is 'true'. number

youtubeInfo.getSongByID('song id', options)

  • lang - The 2 character symbol of a language. Default is en.

youtubeInfo.getSongByURL('song id', options)

  • lang - The 2 character symbol of a language. Default is en.
1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago

0.0.4

5 years ago

0.0.3

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago